ExtendedProperties.Count Property

ExtendedProperties.Count Property

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

Definition

Visual Basic .NET Public ReadOnly Property Count As Integer
C# public int Count { get; }
Managed C++ public: __property int* get_Count();

Property Value

System.Int32. The number of ExtendedProperty objects contained in the ExtendedProperties collection.

This property is read-only. This property has no default value.

Examples

[C#]

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;

[Visual Basic .NET]

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

See Also