XmlSchemas::IndexOf Method (XmlSchema^)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Searches for the specified schema and returns the zero-based index of the first occurrence within the entire XmlSchemas.

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

public:
int IndexOf(
	XmlSchema^ schema
)

Parameters

schema
Type: System.Xml.Schema::XmlSchema^

The XmlSchema to locate.

Return Value

Type: System::Int32

The zero-based index of the first occurrence of the value within the entire XmlSchemas, if found; otherwise, -1.

.NET Framework
Available since 1.1
Return to top
Show: