FlagsHelperIsIdenticalToT Method
Checks if the flag value is identical to the provided enum.
Namespace: SMath.ControlsAssembly: SMath.Controls (in SMath.Controls.dll) Version: 1.73.9126.0
public static bool IsIdenticalTo<T>(
this Enum type,
T enumFlag
)
<ExtensionAttribute>
Public Shared Function IsIdenticalTo(Of T) (
type As Enum,
enumFlag As T
) As Boolean
public:
[ExtensionAttribute]
generic<typename T>
static bool IsIdenticalTo(
Enum^ type,
T enumFlag
)
[<ExtensionAttribute>]
static member IsIdenticalTo :
type : Enum *
enumFlag : 'T -> bool
- type Enum
-
- enumFlag T
-
- T
BooleanIn 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).