XmlArrayItemAttributes.Add(XmlArrayItemAttribute) Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Hozzáad egy XmlArrayItemAttribute elemet a gyűjteményhez.
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
Paraméterek
- attribute
- XmlArrayItemAttribute
A XmlArrayItemAttribute gyűjteményhez hozzáadni kívánt.
Válaszok
A hozzáadott elem indexe.