XmlSchemas.IndexOf(XmlSchema) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
搜尋指定的結構,並回傳整個 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
參數
傳回
若找到,則為該值 XmlSchemas首次出現的零基索引;否則為 -1。