Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns the index of a specific ExtendedProperty object within an ExtendedProperties collection, based on the name of the ExtendedProperty object.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public Function IndexOf ( _
ep As ExtendedProperty _
) As Integer
'Usage
Dim instance As ExtendedProperties
Dim ep As ExtendedProperty
Dim returnValue As Integer
returnValue = instance.IndexOf(ep)
public int IndexOf(
ExtendedProperty ep
)
public:
int IndexOf(
ExtendedProperty^ ep
)
public function IndexOf(
ep : ExtendedProperty
) : int
Parameters
ep
Type: Microsoft.Ink.ExtendedPropertyThe ExtendedProperty object to check for.
Return Value
Type: System.Int32
The index of the ExtendedProperty object within an ExtendedProperties collection.
Remarks
If an ExtendedProperty object is passed in that does not exist in the ExtendedProperties collection, this method returns -1.
Examples
In this example, the index of an ExtendedProperty object within an ExtendedProperties collection is obtained.
Dim idx As Integer = stroke.ExtendedProperties.IndexOf(exProp)
int idx = stroke.ExtendedProperties.IndexOf(exProp);
Platforms
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.0