ComponentOne Data Source for Entity Framework
C1.Data.DataSource Namespace / SortDescriptor Class / SortDescriptor Constructor / SortDescriptor Constructor(String,ListSortDirection)
The sort property path
The sort direction

In This Topic
    SortDescriptor Constructor(String,ListSortDirection)
    In This Topic
    Initializes a new instance of the SortDescriptor class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal propertyPath As System.String, _
       ByVal direction As System.ComponentModel.ListSortDirection _
    )
    public SortDescriptor( 
       System.string propertyPath,
       System.ComponentModel.ListSortDirection direction
    )

    Parameters

    propertyPath
    The sort property path
    direction
    The sort direction
    See Also