編輯

共用方式為


XmlSchemaObjectCollection.IndexOf(XmlSchemaObject) Method

Definition

Gets the collection index corresponding to the specified XmlSchemaObject.

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

Parameters

item
XmlSchemaObject

The XmlSchemaObject whose index you want to return.

Returns

The index corresponding to the specified XmlSchemaObject.

Applies to