Namespace: DWSIM.ExtensionMethodsAssembly: DWSIM.ExtensionMethods (in DWSIM.ExtensionMethods.dll) Version: 8.8.1.0
Syntax public static T ToEnum<T>(
this int obj
)
<ExtensionAttribute>
Public Shared Function ToEnum(Of T) (
obj As Integer
) As T
Request Example
View SourceParameters
- obj Int32
-
Type Parameters
- T
Return Value
TUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Int32. 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