EnumerationExtensionsRemoveFlagT Method |
Namespace: OIV.InventorAssembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic static T RemoveFlag<T>(
this Enum type,
T value
)
<ExtensionAttribute>
Public Shared Function RemoveFlag(Of T) (
type As Enum,
value As T
) As T
public:
[ExtensionAttribute]
generic<typename T>
static T RemoveFlag(
Enum^ type,
T value
)
[<ExtensionAttribute>]
static member RemoveFlag :
type : Enum *
value : 'T -> 'T
Parameters
- type
- Type: SystemEnum
- value
- Type: T
Type Parameters
- T
Return Value
Type:
TUsage 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