| EnumExtensionsOrOption Method |
Computes the logical OR of the enum value and the specified option.
Namespace:
Slash.Unity.DataBind.Core.Utils
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static Enum OrOption(
this Enum value,
Enum option,
Type enumType
)
<ExtensionAttribute>
Public Shared Function OrOption (
value As Enum,
option As Enum,
enumType As Type
) As Enum
public:
[ExtensionAttribute]
static Enum^ OrOption(
Enum^ value,
Enum^ option,
Type^ enumType
)
[<ExtensionAttribute>]
static member OrOption :
value : Enum *
option : Enum *
enumType : Type -> Enum
Parameters
- value
- Type: SystemEnum
First operand. - option
- Type: SystemEnum
Second operand. - enumType
- Type: SystemType
Type of the enum to compute the new value of.
Return Value
Type:
EnumLogical OR of the enum value and the specified option.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Enum. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also