EnumerationExtensionsIsFlagT Method |
Note: This API is now obsolete.
Namespace: OIV.InventorAssembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax [EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("Obsolete since Open Inventor 9920. Always returns false.")]
public static bool IsFlag<T>(
this Enum type,
T value
)
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<ObsoleteAttribute("Obsolete since Open Inventor 9920. Always returns false.")>
<ExtensionAttribute>
Public Shared Function IsFlag(Of T) (
type As Enum,
value As T
) As Boolean
public:
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ObsoleteAttribute(L"Obsolete since Open Inventor 9920. Always returns false.")]
[ExtensionAttribute]
generic<typename T>
static bool IsFlag(
Enum^ type,
T value
)
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<ObsoleteAttribute("Obsolete since Open Inventor 9920. Always returns false.")>]
[<ExtensionAttribute>]
static member IsFlag :
type : Enum *
value : 'T -> bool
Parameters
- type
- Type: SystemEnum
- value
- Type: T
Type Parameters
- T
Return Value
Type:
BooleanUsage 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