XmlSchemas.Find(XmlQualifiedName, Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Locates in one of the XML schemas an XmlSchemaObject of the specified name and type.
This API supports the product infrastructure and is not intended to be used directly from your code.
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
Parameters
- name
- XmlQualifiedName
An XmlQualifiedName that specifies a fully qualified name with a namespace used to locate an XmlSchema object in the collection.
- type
- Type
The Type of the object to find. Possible types include: XmlSchemaGroup, XmlSchemaAttributeGroup, XmlSchemaElement, XmlSchemaAttribute, and XmlSchemaNotation.
Returns
An XmlSchemaObject instance, such as an XmlSchemaElement or XmlSchemaAttribute.