Freigeben über


XmlElementAttributes.IndexOf-Methode

Ruft den Index des angegeben XmlElementAttribute ab.

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

Syntax

'Declaration
Public Function IndexOf ( _
    attribute As XmlElementAttribute _
) As Integer
'Usage
Dim instance As XmlElementAttributes
Dim attribute As XmlElementAttribute
Dim returnValue As Integer

returnValue = instance.IndexOf(attribute)
public int IndexOf (
    XmlElementAttribute attribute
)
public:
int IndexOf (
    XmlElementAttribute^ attribute
)
public int IndexOf (
    XmlElementAttribute attribute
)
public function IndexOf (
    attribute : XmlElementAttribute
) : int

Parameter

Rückgabewert

Der nullbasierte Index von XmlElementAttribute.

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

XmlElementAttributes-Klasse
XmlElementAttributes-Member
System.Xml.Serialization-Namespace