ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Direct2D Namespace / Properties Class / GetEnumValueByName<T> Method
The name of the property.

In This Topic
    GetEnumValueByName<T> Method
    In This Topic
    Gets the value of the specified property by name.
    Syntax
    'Declaration
     
    Public Function GetEnumValueByName(Of T As {New, Struct})( _
       ByVal name As String _
    ) As T
    public T GetEnumValueByName<T>( 
       string name
    )
    where T: new(), struct

    Parameters

    name
    The name of the property.

    Type Parameters

    T

    Return Value

    The value of the specified property by name.
    See Also