Freigeben über


XmlSchemaObjectCollection.IndexOf-Methode

Ruft den Auflistungsindex ab, der dem angegebenen XmlSchemaObject entspricht.

Namespace: System.Xml.Schema
Assembly: System.Xml (in system.xml.dll)

Syntax

'Declaration
Public Function IndexOf ( _
    item As XmlSchemaObject _
) As Integer
'Usage
Dim instance As XmlSchemaObjectCollection
Dim item As XmlSchemaObject
Dim returnValue As Integer

returnValue = instance.IndexOf(item)
public int IndexOf (
    XmlSchemaObject item
)
public:
int IndexOf (
    XmlSchemaObject^ item
)
public int IndexOf (
    XmlSchemaObject item
)
public function IndexOf (
    item : XmlSchemaObject
) : int

Parameter

Rückgabewert

Der Index, der dem angegebenen XmlSchemaObject entspricht.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

.NET Compact Framework

Unterstützt in: 2.0

Siehe auch

Referenz

XmlSchemaObjectCollection-Klasse
XmlSchemaObjectCollection-Member
System.Xml.Schema-Namespace