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
- gridRows
Type: System.Collections.Generic.ICollection<KeyValuePair<String, SchemaCompareGridRow>>
An ICollection<T> of named SchemaCompareGridRow objects.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
SchemaCompareSettingsService Class