Delen via


SchemaCompareSettingsService.Sort Method

When overridden in a derived class, returns the provided list of grid rows as a sorted list of grid rows.

Namespace:  Microsoft.Data.Schema.Tools.Compare.Schema
Assembly:  Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)

Syntax

'Declaration
Public Overridable Function Sort ( _
    gridRows As ICollection(Of KeyValuePair(Of String, SchemaCompareGridRow)) _
) As ICollection(Of KeyValuePair(Of String, SchemaCompareGridRow))
public virtual ICollection<KeyValuePair<string, SchemaCompareGridRow>> Sort(
    ICollection<KeyValuePair<string, SchemaCompareGridRow>> gridRows
)
public:
virtual ICollection<KeyValuePair<String^, SchemaCompareGridRow^>>^ Sort(
    ICollection<KeyValuePair<String^, SchemaCompareGridRow^>>^ gridRows
)
abstract Sort : 
        gridRows:ICollection<KeyValuePair<string, SchemaCompareGridRow>> -> ICollection<KeyValuePair<string, SchemaCompareGridRow>> 
override Sort : 
        gridRows:ICollection<KeyValuePair<string, SchemaCompareGridRow>> -> ICollection<KeyValuePair<string, SchemaCompareGridRow>> 
public function Sort(
    gridRows : ICollection<KeyValuePair<String, SchemaCompareGridRow>>
) : ICollection<KeyValuePair<String, SchemaCompareGridRow>>

Parameters

Return Value

Type: System.Collections.Generic.ICollection<KeyValuePair<String, SchemaCompareGridRow>>
The sorted list of grid rows.

Remarks

The default implementation of this method does not sort the list.

.NET Framework Security

See Also

Reference

SchemaCompareSettingsService Class

Microsoft.Data.Schema.Tools.Compare.Schema Namespace

SchemaCompareGridRow