Share via


XmlSchemaObjectCollection.IndexOf(XmlSchemaObject) 方法

定義

取得與指定 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

參數

item
XmlSchemaObject

您所要傳回索引的 XmlSchemaObject

傳回

Int32

與所指定 XmlSchemaObject 相關的索引。

適用於