Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft