XmlElementAttributes.IndexOf(XmlElementAttribute) 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.
Hämtar indexet för den angivna XmlElementAttribute.
public:
int IndexOf(System::Xml::Serialization::XmlElementAttribute ^ attribute);
public int IndexOf(System.Xml.Serialization.XmlElementAttribute attribute);
public int IndexOf(System.Xml.Serialization.XmlElementAttribute? attribute);
member this.IndexOf : System.Xml.Serialization.XmlElementAttribute -> int
Public Function IndexOf (attribute As XmlElementAttribute) As Integer
Parametrar
- attribute
- XmlElementAttribute
Vars XmlElementAttribute index hämtas.
Returer
Det nollbaserade indexet för XmlElementAttribute.