Represents a sort condition which will sort cells based on a custom, ordered list of values.

constructor

public CustomListSortCondition(SortDirection sortDirection, IEnumerable<string> list)

Returns CustomListSortCondition

constructor

public CustomListSortCondition(SortDirection sortDirection, params string[] list)

Returns CustomListSortCondition

constructor

public CustomListSortCondition(IEnumerable<string> list)

Returns CustomListSortCondition

constructor

public CustomListSortCondition(params string[] list)

Returns CustomListSortCondition

Inherited from: SortCondition

Gets the value which indicates the sort direction represented by the sort condition.

public SortDirection SortDirection { get; }

Gets the ordered list of values by which to sort.

public IEnumerable<string> List { get; }

Determines whether the is equal to the specified object.

public override bool Equals(object obj)

Parameters

  • obj: object

Returns any

Gets the hash code for the .

public override int GetHashCode()

Returns any