VolumeCollection Constructor (Computer, IComparer<String>)
Initializes a new instance of the VolumeCollection class on the specified computer and with the specified comparer interface.
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
Public Sub New ( _
parent As Computer, _
customComparer As IComparer(Of String) _
)
'Usage
Dim parent As Computer
Dim customComparer As IComparer(Of String)
Dim instance As New VolumeCollection(parent, _
customComparer)
public VolumeCollection(
Computer parent,
IComparer<string> customComparer
)
public:
VolumeCollection(
Computer^ parent,
IComparer<String^>^ customComparer
)
new :
parent:Computer *
customComparer:IComparer<string> -> VolumeCollection
public function VolumeCollection(
parent : Computer,
customComparer : IComparer<String>
)
Parameters
- parent
Type: Microsoft.SqlServer.Management.Utility.Computer
A Computer object that specifies the parent of the collection.
- customComparer
Type: System.Collections.Generic.IComparer<String>
A [T:System.Collections.Generic.IComparer<string>] object that specifies the custom comparer interface.