Export (0) Print
Expand All

XmlArrayItemAttributes.IList.IndexOf Method (Object)

.NET Framework 4.6 and 4.5

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

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft