ערוך

שתף באמצעות


XmlArrayItemAttributes.IndexOf(XmlArrayItemAttribute) Method

Definition

Returns the zero-based index of the first occurrence of the specified XmlArrayItemAttribute in the collection or -1 if the attribute is not found in the collection.

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

Parameters

attribute
XmlArrayItemAttribute

The XmlArrayItemAttribute to locate in the collection.

Returns

The first index of the XmlArrayItemAttribute in the collection or -1 if the attribute is not found in the collection.

Applies to