XmlArrayItemAttributes.IndexOf(XmlArrayItemAttribute) Methode

Definition

Gibt den nullbasierten Index des ersten Vorkommens der in der Auflistung angegebenen XmlArrayItemAttribute oder -1 zurück, wenn das Attribut nicht in der Auflistung gefunden wird.

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

Parameter

attribute
XmlArrayItemAttribute

Der XmlArrayItemAttribute zu suchende In der Sammlung.

Gibt zurück

Der erste Index der XmlArrayItemAttribute Auflistung oder -1, wenn das Attribut nicht in der Auflistung gefunden wird.

Gilt für: