System.Xml.Serialization.XmlArrayItemAttributes.IndexOf Method

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

Syntax

public int IndexOf (XmlArrayItemAttribute attribute)

Parameters

attribute
The System.Xml.Serialization.XmlArrayItemAttribute to locate in the collection.

Returns

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

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0