XmlSchemas.Find Method (XmlQualifiedName, Type)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Locates in one of the XML schemas an XmlSchemaObject of the specified name and type.

Namespace:   System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

public object Find(
	XmlQualifiedName name,
	Type type
)

Parameters

name
Type: System.Xml.XmlQualifiedName

An XmlQualifiedName that specifies a fully qualified name with a namespace used to locate an XmlSchema object in the collection.

type
Type: System.Type

The Type of the object to find. Possible types include: XmlSchemaGroup, XmlSchemaAttributeGroup, XmlSchemaElement, XmlSchemaAttribute, and XmlSchemaNotation.

Return Value

Type: System.Object

An XmlSchemaObject instance, such as an XmlSchemaElement or XmlSchemaAttribute.

.NET Framework
Available since 1.1
Return to top
Show: