Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Data Namespace / BuiltInConverters Class / EnumConverter<T> Method


In This Topic
    EnumConverter<T> Method
    In This Topic
    Gets the converter that return GrapeCity.Spreadsheet.Data.Converters.EnumConverter<T> value.
    Syntax
    'Declaration
     
    
    Public Shared Function EnumConverter(Of T As {New, Enum, Struct})() As IValueConverter(Of T)
    'Usage
     
    
    Dim value As IValueConverter(Of T)
     
    value = BuiltInConverters.EnumConverter(Of T)()
    public static IValueConverter<T> EnumConverter<T>()
    where T: new(), Enum, struct

    Type Parameters

    T
    See Also