Export (0) Print
Expand All

XmlArrayItemAttributes.IList.IndexOf Method (Object)

.NET Framework 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

.NET for Windows Store apps

Supported in: Windows 8

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8

Windows Phone 8.1, Windows Phone 8

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft