次の方法で共有


ExtendedProperties.Count プロパティ

ExtendedProperties コレクションに格納されている ExtendedProperty オブジェクトの数を取得します。

名前空間 :  Microsoft.Ink
アセンブリ :  Microsoft.Ink (Microsoft.Ink.dll 内)

構文

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

value = instance.Count
public int Count { get; }
public:
virtual property int Count {
    int get () sealed;
}
/** @property */
public final int get_Count()
public final function get Count () : int

プロパティ値

型 : System.Int32
ExtendedProperties コレクションに格納されている ExtendedProperty オブジェクトの数。

実装

ICollection.Count

この C# の例では、Stroke オブジェクト theStroke の ExtendedProperties コレクション内にある ExtendedProperty オブジェクトの数を取得します。

ExtendedProperties theExtendedProperties = theStroke.ExtendedProperties;
int theCount = theExtendedProperties.Count;

この Microsoft® Visual Basic® .NET の例では、Stroke オブジェクト theStroke の ExtendedProperties コレクション内にある ExtendedProperty オブジェクトの数を取得します。

Dim theExtendedProperties As ExtendedProperties = theStroke.ExtendedProperties
Dim theCount As Integer = theExtendedProperties.Count

プラットフォーム

Windows Vista

.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。

バージョン情報

.NET Framework

サポート対象 : 3.0

参照

参照

ExtendedProperties クラス

ExtendedProperties メンバ

Microsoft.Ink 名前空間

ExtendedProperty

その他の技術情報

System.Collections.ICollection