Konstruktor SfcCollatedDictionaryCollection<T, K, ParentT> (ParentT, IComparer<String>)
Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.Inicjuje nowe wystąpienie SfcCollatedDictionaryCollection<T, K, ParentT> klasy przy użyciu określonego obiektu nadrzędnego i IComparer<T> obiektu.
Przestrzeń nazw: Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw: Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Składnia
'Deklaracja
Protected Sub New ( _
parent As ParentT, _
customComparer As IComparer(Of String) _
)
'Użycie
Dim parent As ParentT
Dim customComparer As IComparer(Of String)
Dim instance As New SfcCollatedDictionaryCollection(parent, _
customComparer)
protected SfcCollatedDictionaryCollection(
ParentT parent,
IComparer<string> customComparer
)
protected:
SfcCollatedDictionaryCollection(
ParentT parent,
IComparer<String^>^ customComparer
)
new :
parent:'ParentT *
customComparer:IComparer<string> -> SfcCollatedDictionaryCollection
protected function SfcCollatedDictionaryCollection(
parent : ParentT,
customComparer : IComparer<String>
)
Parametry
- parent
Typ: ParentT
Obiekt nadrzędny.
- customComparer
Typ: System.Collections.Generic.IComparer<String>
IComparer<T> Obiektu podczas porównywania kluczy.