XmlArrayItemAttributes.IndexOf(XmlArrayItemAttribute) Metod

Definition

Returnerar det nollbaserade indexet för den första förekomsten av den angivna XmlArrayItemAttribute i samlingen eller -1 om attributet inte hittas i samlingen.

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

Parametrar

attribute
XmlArrayItemAttribute

Att XmlArrayItemAttribute hitta i samlingen.

Returer

Det första indexet för XmlArrayItemAttribute i samlingen eller -1 om attributet inte hittas i samlingen.

Gäller för