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要找到。

傳回

若找到,則為該值 XmlSchemas首次出現的零基索引;否則為 -1。

適用於