XmlArrayItemAttributes.IndexOf(XmlArrayItemAttribute) Метод

Определение

Возвращает отсчитываемый от нуля индекс первого вхождения указанного XmlArrayItemAttribute в коллекции или -1, если атрибут не найден в коллекции.

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

Параметры

attribute
XmlArrayItemAttribute

Расположение XmlArrayItemAttribute в коллекции.

Возвращаемое значение

Первый индекс XmlArrayItemAttribute коллекции или -1, если атрибут не найден в коллекции.

Применяется к