Freigeben über


ExtendedProperties.IndexOf Method

ExtendedProperties.IndexOf Method

Returns the index of a specific ExtendedProperty object within an ExtendedProperties collection, based on the name of the ExtendedProperty object.

Definition

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

Parameters

ep Microsoft.Ink.ExtendedProperty. The ExtendedProperty object to check for.

Return Value

System.Int32. Returns the index of the ExtendedProperty object within an ExtendedProperties collection.

Exceptions

ArgumentException Leave Site: The parameter is not valid.

Remarks

If an ExtendedProperty object is passed in that does not exist in the ExtendedProperties collection, this method returns -1.

Examples

See Also