Freigeben über


ExtendedProperties.get_Item Method

ExtendedProperties.get_Item Method

Returns the ExtendedProperty object at the known index in a ExtendedProperties collection.

Definition

Visual Basic .NET Public Function get_Item( _
ByVal index As Integer _
) As ExtendedProperty
C# public ExtendedProperty get_Item(
int index
);
Managed C++ public: ExtendedProperty* get_Item(
int *index
);

Parameters

index System.Int32. The numeric index of the ExtendedProperty object to return from the collection.

Return Value

Microsoft.Ink.ExtendedProperty. Returns the ExtendedProperty object at the known index in a ExtendedProperties collection.

Remarks

An error occurs if the index doesn't match any existing member of the ExtendedProperties collection.

Note: [C#]  Use the ExtendedProperties collection's indexer as shown in the following example rather than using the ExtendedProperties collection's get_Item method.

Examples

[C#]

This C# example gets the first ExtendedProperty from the ExtendedProperties property of a Stroke object.

ExtendedProperty firstExtendedProperty = e.Stroke.ExtendedProperties[0];
                

[VB.NET]

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

Dim firstExtendedProperty As ExtendedProperty = e.Stroke.ExtendedProperties(0)
                

See Also