XmlSchemas.IndexOf(XmlSchema) 方法

定義

搜尋指定的結構描述,並傳回整個 XmlSchemas 內,第一個找到機構描述之以零起始的索引。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

schema
XmlSchema

要尋找的 XmlSchema

傳回

Int32

如果找到,則為整個 XmlSchemas 內,第一個找到結構描述之以零起始的索引值,否則為 -1。

適用於