ContextLinkCollection.Count 属性

获取 ContextLinkCollection 集合中包含的 ContextLink 对象的数目。

命名空间:  Microsoft.Ink
程序集:  Microsoft.Ink.Analysis(在 Microsoft.Ink.Analysis.dll 中)

语法

声明
Public ReadOnly Property Count As Integer
用法
Dim instance As ContextLinkCollection
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
ContextLinkCollection 集合中包含的 ContextLink 对象的数目。

实现

ICollection.Count

示例

此示例将获取 ContextLinkCollection 集合中包含的 ContextLink 对象的数目。

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

平台

Windows Vista

.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求

版本信息

.NET Framework

受以下版本支持:3.0

另请参见

参考

ContextLinkCollection 类

ContextLinkCollection 成员

Microsoft.Ink 命名空间