EnumValueParseT Method (NullableInt32)
|
Parse an enum in an EnumValue object
Namespace:
Aruba.Cloud.Common.Entities
Assembly:
Aruba.Cloud.Common (in Aruba.Cloud.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static EnumValue Parse<T>(
Nullable<int> id
)
where T : struct, new()
Public Shared Function Parse(Of T As {Structure, New}) (
id As Nullable(Of Integer)
) As EnumValuepublic:
generic<typename T>
where T : value class, gcnew()
static EnumValue^ Parse(
Nullable<int> id
)
static member Parse :
id : Nullable<int> -> EnumValue when 'T : struct, new()
JScript does not support generic types or methods.
Parameters
- id
- Type: SystemNullableInt32
The id of enum to be parsed
Type Parameters
- T
- The enum to be parsed
Return Value
Type:
EnumValue
See Also