Freigeben über


XmlArrayItemAttributes.Add-Methode

Fügt der Auflistung ein XmlArrayItemAttribute hinzu.

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

Syntax

'Declaration
Public Function Add ( _
    attribute As XmlArrayItemAttribute _
) As Integer
'Usage
Dim instance As XmlArrayItemAttributes
Dim attribute As XmlArrayItemAttribute
Dim returnValue As Integer

returnValue = instance.Add(attribute)
public int Add (
    XmlArrayItemAttribute attribute
)
public:
int Add (
    XmlArrayItemAttribute^ attribute
)
public int Add (
    XmlArrayItemAttribute attribute
)
public function Add (
    attribute : XmlArrayItemAttribute
) : int

Parameter

Rückgabewert

Der Index des hinzugefügten Elements.

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

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