ComponentOne Bitmap for UWP
C1.UWP.DX 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 System.String _
    ) As T
    public T GetEnumValueByName<T>( 
       System.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