Share via


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

See Also

Reference

VolumeCollection Class

VolumeCollection Overload

Microsoft.SqlServer.Management.Utility Namespace