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(R) Visual Basic(R) .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