次の方法で共有


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