次の方法で共有


PropertyCollection.Count プロパティ

PropertyCollection オブジェクトに含まれるプロパティの数を取得します。

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

構文

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

value = instance.Count
public int Count { get; }
public:
virtual property int Count {
    int get () sealed;
}
abstract Count : int 
override Count : int
final function get Count () : int

プロパティ値

型: System.Int32
コレクション内のプロパティの数を示す Int32 値。

実装

ICollection.Count

使用例

コレクションの使用

関連項目

参照

PropertyCollection クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

コレクションの使用