EnumerationExtensionsAddFlagT 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 default(T).")]
public static T AddFlag<T>(
this Enum type,
T value
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<ObsoleteAttribute("Obsolete since Open Inventor 9920. Always returns default(T).")>
Public Shared Function AddFlag(Of T) (
type As Enum,
value As T
) As T
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ObsoleteAttribute(L"Obsolete since Open Inventor 9920. Always returns default(T).")]
generic<typename T>
static T AddFlag(
Enum^ type,
T value
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<ObsoleteAttribute("Obsolete since Open Inventor 9920. Always returns default(T).")>]
static member AddFlag :
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