次の方法で共有


ContextLinkBaseCollection.Count プロパティ

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

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

構文

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

実装

ICollection.Count

次の例では、ContextLinkBaseCollection、links 内のリンクの数を取得します。

Dim nLinks As Integer = links.Count
int nLinks = links.Count;

プラットフォーム

Windows Vista, Windows XP SP2, Windows Server 2003

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

バージョン情報

.NET Framework

サポート対象 : 3.0

参照

参照

ContextLinkBaseCollection クラス

ContextLinkBaseCollection メンバ

System.Windows.Ink.AnalysisCore 名前空間