XmlArrayItemAttributes.IList.IndexOf Method (Object)

.NET Framework (current version)

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

Namespace:  System.Xml.Serialization
Assembly:  System.Xml.XmlSerializer (in System.Xml.XmlSerializer.dll)

int IList.IndexOf(
	Object value
)

Parameters

value
Type: System.Object

Return Value

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

Implements

IList.IndexOf(Object)

.NET Framework

Supported in: 4.6

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8

Portable Class Library

Supported in: Portable Class Library
Show: