XmlArrayItemAttributes.Add(XmlArrayItemAttribute) Metod

Definition

Lägger till en XmlArrayItemAttribute i samlingen.

public:
 int Add(System::Xml::Serialization::XmlArrayItemAttribute ^ attribute);
public int Add(System.Xml.Serialization.XmlArrayItemAttribute attribute);
public int Add(System.Xml.Serialization.XmlArrayItemAttribute? attribute);
member this.Add : System.Xml.Serialization.XmlArrayItemAttribute -> int
Public Function Add (attribute As XmlArrayItemAttribute) As Integer

Parametrar

attribute
XmlArrayItemAttribute

Att XmlArrayItemAttribute lägga till i samlingen.

Returer

Indexet för det tillagda objektet.

Gäller för