次の方法で共有


ContextNodeBaseCollection.Count プロパティ

ContextNodeBaseCollection に含まれる ContextNodeBase オブジェクトの数を取得します。

名前空間 :  System.Windows.Ink.AnalysisCore
アセンブリ :  IACore (IACore.dll 内)

構文

'宣言
Public ReadOnly Property Count As Integer
'使用
Dim instance As ContextNodeBaseCollection
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
ContextNodeBaseCollection に含まれる ContextNodeBase オブジェクトの数。

実装

ICollection.Count

次の例では、nodes という名前の ContextNodeBaseCollection 内のノード数を取得します。

Dim nNodes As Integer = nodes.Count
            int nNodes = nodes.Count;

プラットフォーム

Windows Vista, Windows XP SP2, Windows Server 2003

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

バージョン情報

.NET Framework

サポート対象 : 3.0

参照

参照

ContextNodeBaseCollection クラス

ContextNodeBaseCollection メンバ

System.Windows.Ink.AnalysisCore 名前空間