IExplorerViewItemSet.Sort Method
Sorts the elements using the specified comparer.
Namespace: Microsoft.SqlServer.Management.Explorer
Assembly: Microsoft.SqlServer.Management.SDK.SqlStudio (in Microsoft.SqlServer.Management.SDK.SqlStudio.dll)
Syntax
'Declaration
Sub Sort ( _
comparer As IComparer(Of IExplorerViewItem) _
)
'Usage
Dim instance As IExplorerViewItemSet
Dim comparer As IComparer(Of IExplorerViewItem)
instance.Sort(comparer)
void Sort(
IComparer<IExplorerViewItem> comparer
)
void Sort(
IComparer<IExplorerViewItem^>^ comparer
)
abstract Sort :
comparer:IComparer<IExplorerViewItem> -> unit
function Sort(
comparer : IComparer<IExplorerViewItem>
)
Parameters
- comparer
Type: System.Collections.Generic.IComparer<IExplorerViewItem>
An implementation of IComparer that performs the custom sorting operation.