Поделиться через


ExtendedProperties.Count - свойство

Обновлен: Ноябрь 2007

Gets the number of ExtendedProperty objects contained in the ExtendedProperties collection.

Пространство имен:  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
The number of ExtendedProperty objects contained in the ExtendedProperties collection.

Реализации

ICollection.Count

Примеры

This C# example gets the number of ExtendedProperty objects within the ExtendedProperties collection of a Stroke object, theStroke.

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

This Microsoft® Visual Basic® .NET example gets the number of ExtendedProperty objects within the ExtendedProperties collection of a Stroke object, theStroke.

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