Version

SetStringEnum<T> Method

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

Parameters

property
The property name.
value
The property value.

Type Parameters

T
The type 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