XmlElementAttributes.IndexOf(XmlElementAttribute) Method

Definition

Gets the index of the specified 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

Parameters

attribute
XmlElementAttribute

The XmlElementAttribute whose index is being retrieved.

Returns

The zero-based index of the XmlElementAttribute.

Applies to