次の方法で共有


VolumeCollection コンストラクター (Computer, IComparer<String>)

指定されたコンピューター上で、指定された比較演算子インターフェイスを使用して VolumeCollection クラスの新しいインスタンスを初期化します。

名前空間:  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>
)

パラメーター

  • customComparer
    型: System.Collections.Generic.IComparer<String>
    カスタムの比較演算子インターフェイスを指定する [T:System.Collections.Generic.IComparer<string>] オブジェクトです。

関連項目

参照

VolumeCollection クラス

VolumeCollection オーバーロード

Microsoft.SqlServer.Management.Utility 名前空間