다음을 통해 공유


ExtendedProperties.Item Property

ExtendedProperties.Item Property

Gets the ExtendedProperty object at the specified index within the ExtendedProperties collection.

Definition

Visual Basic .NET Public ReadOnly Property Item As ExtendedProperty
C# public ExtendedProperty Item { get; }
Managed C++ public: __property ExtendedProperty* get_Item(
int *index);

Property Value

Microsoft.Ink.ExtendedProperty. The ExtendedProperty object at the specified index within the ExtendedProperties collection.

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

Parameters

index System.Int32. [in] The zero-based index of the ExtendedProperty object to get.

Exceptions

ArgumentOutOfRangeException Leave Site: The specified identifier was not found.

Remarks

An ArgumentOutOfRangeException Leave Site is thrown if the index does not match an existing member of the ExtendedProperties collection.

Note: In C#, use the collection's indexer as shown in the following example, instead of using the collection's Item property.

Examples

[C#]

This C# example gets the first ExtendedProperty object from the ExtendedProperties collection of a Stroke, theStroke.

ExtendedProperty firstProperty = theStroke.ExtendedProperties[0];

[Visual Basic .NET]

This Microsoft® Visual Basic® .NET example gets the first ExtendedProperty object from the ExtendedProperties collection of a Stroke, theStroke.

Dim firstProperty As ExtendedProperty = theStroke.ExtendedProperties.Item(0)

See Also