次の方法で共有


IReadOnlyCollection.Count プロパティ

コレクションに含まれているアイテムの数を取得します。

名前空間:  Microsoft.SqlServer.Management.Sdk.Sfc
アセンブリ:  Microsoft.SqlServer.Management.Sdk.Sfc (Microsoft.SqlServer.Management.Sdk.Sfc.dll)

構文

'宣言
ReadOnly Property Count As Integer 
    Get
'使用
Dim instance As IReadOnlyCollection 
Dim value As Integer 

value = instance.Count
int Count { get; }
property int Count {
    int get ();
}
abstract Count : int
function get Count () : int

プロパティ値

型: System.Int32
コレクションに含まれているアイテムの数。

関連項目

参照

IReadOnlyCollection インターフェイス

Microsoft.SqlServer.Management.Sdk.Sfc 名前空間