XmlSchemaObjectCollection.IndexOf Method (XmlSchemaObject)

 

Gets the collection index corresponding to the specified XmlSchemaObject.

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

public int IndexOf(
	XmlSchemaObject item
)

Parameters

item
Type: System.Xml.Schema.XmlSchemaObject

The XmlSchemaObject whose index you want to return.

Return Value

Type: System.Int32

The index corresponding to the specified XmlSchemaObject.

.NET Framework
Available since 1.1
Return to top
Show: