Edit

Share via


XmlSchemas.IndexOf(XmlSchema) Method

Definition

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

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

public:
 int IndexOf(System::Xml::Schema::XmlSchema ^ schema);
public int IndexOf (System.Xml.Schema.XmlSchema schema);
member this.IndexOf : System.Xml.Schema.XmlSchema -> int
Public Function IndexOf (schema As XmlSchema) As Integer

Parameters

schema
XmlSchema

The XmlSchema to locate.

Returns

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

Applies to