IList.IndexOf Method

XmlAnyElementAttributes.IList.IndexOf Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Determines the index of a specified item in the attribute list.

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

int IList.IndexOf(
	Object value
)

Parameters

value
Type: System.Object
The object to locate in the attribute list.

Return Value

Type: System.Int32
The index of the value if found in the attribute list; otherwise, -1.

Implements

IList.IndexOf(Object)

Note that when an interface method is explicitly implemented, it is no longer visible as a public member of the class. The only way to access it is through the interface.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft