XmlArrayItemAttributes.Add(XmlArrayItemAttribute) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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.