XmlSchemas.Find(XmlQualifiedName, Type) 方法

定義

在其中一個 XML 結構描述中,尋找指定名稱和型別的 XmlSchemaObject

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

public:
 System::Object ^ Find(System::Xml::XmlQualifiedName ^ name, Type ^ type);
public object? Find (System.Xml.XmlQualifiedName name, Type type);
public object Find (System.Xml.XmlQualifiedName name, Type type);
member this.Find : System.Xml.XmlQualifiedName * Type -> obj
Public Function Find (name As XmlQualifiedName, type As Type) As Object

參數

name
XmlQualifiedName

XmlQualifiedName,指定具有命名空間的完整名稱,用於尋找集合中的 XmlSchema 物件。

type
Type

要尋找之物件的 Type。 可能的型別包括:XmlSchemaGroupXmlSchemaAttributeGroupXmlSchemaElementXmlSchemaAttributeXmlSchemaNotation

傳回

Object

XmlSchemaObject 執行個體,例如 XmlSchemaElementXmlSchemaAttribute

適用於