Version

GetStringEnum<T> Method

Gets the value of a string property whose values are the lowercase values of an Enum.
Syntax
'Declaration
 
Protected Function GetStringEnum(Of T As {New, Struct})( _
   ByVal property As System.String _
) As System.Nullable(Of T)
protected System.Nullable<T> GetStringEnum<T>( 
   System.string property
)
where T: new(), struct

Parameters

property
The property name.

Type Parameters

T
The type of the property.

Return Value

The value of the property.
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub