FlagsHelperIsIdenticalToT Method

Checks if the flag value is identical to the provided enum.

Definition

Namespace: SMath.Controls
Assembly: SMath.Controls (in SMath.Controls.dll) Version: 1.73.9126.0
C#
public static bool IsIdenticalTo<T>(
	this Enum type,
	T enumFlag
)

Parameters

type  Enum
 
enumFlag  T
 

Type Parameters

T

Return Value

Boolean

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