| EnumExtensionsAndComplementOption Method |
Computes the logical AND of the enum value and the complement of the specified option.
Namespace: Slash.SystemExt.UtilsAssembly: Slash.System (in Slash.System.dll) Version: 1.0.5843.24176
Syntax public static Enum AndComplementOption(
this Enum value,
Enum option,
Type enumType
)
<ExtensionAttribute>
Public Shared Function AndComplementOption (
value As Enum,
option As Enum,
enumType As Type
) As Enum
public:
[ExtensionAttribute]
static Enum^ AndComplementOption(
Enum^ value,
Enum^ option,
Type^ enumType
)
[<ExtensionAttribute>]
static member AndComplementOption :
value : Enum *
option : Enum *
enumType : Type -> Enum
Parameters
- value
- Type: SystemEnum
First operand. - option
- Type: SystemEnum
Second operand to take the complement of. - enumType
- Type: SystemType
Type of the enum to compute the new value of.
Return Value
Type:
EnumLogical AND of the enum value and the complement of 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