Construtor ManagedInstanceCollection (Utility, IComparer(String))
Cria uma nova instância de ManagedInstanceCollection com o Utility pai especificado e o objeto de comparação de objetos personalizados.
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (em Microsoft.SqlServer.Management.Utility.dll)
Sintaxe
'Declaração
Public Sub New ( _
parent As Utility, _
customComparer As IComparer(Of String) _
)
'Uso
Dim parent As Utility
Dim customComparer As IComparer(Of String)
Dim instance As New ManagedInstanceCollection(parent, _
customComparer)
public ManagedInstanceCollection(
Utility parent,
IComparer<string> customComparer
)
public:
ManagedInstanceCollection(
Utility^ parent,
IComparer<String^>^ customComparer
)
new :
parent:Utility *
customComparer:IComparer<string> -> ManagedInstanceCollection
public function ManagedInstanceCollection(
parent : Utility,
customComparer : IComparer<String>
)
Parâmetros
- parent
Tipo: Microsoft.SqlServer.Management.Utility. . :: . .Utility
Especifica o objeto Utility que é o pai do ManagedInstanceCollection.
- customComparer
Tipo: System.Collections.Generic. . :: . .IComparer< (Of < ( <'String> ) > ) >
Contém um objeto que implementa a interface do IComparer<(Of <(<'T>)>)> usada para comparar instâncias gerenciadas dentro da coleção.