共用方式為


VolumeCollection 建構函式 (Computer, IComparer(String))

Initializes a new instance of the VolumeCollection class on the specified computer and with the specified comparer interface.

命名空間:  Microsoft.SqlServer.Management.Utility
組件:  Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)

語法

'宣告
Public Sub New ( _
    parent As Computer, _
    customComparer As IComparer(Of String) _
)
'用途
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>
)

參數