Click or drag to resize
EnumExtensionsAndComplementOption Method
Computes the logical AND of the enum value and the complement of the specified option.

Namespace: Slash.SystemExt.Utils
Assembly: Slash.System (in Slash.System.dll) Version: 1.0.5843.24176
Syntax
public static Enum AndComplementOption(
	this Enum value,
	Enum option,
	Type enumType
)

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: Enum
Logical 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