XmlDocumentSchema Class

 

Represents the structure, or schema, of an XmlDocument. This class cannot be inherited.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

System::Object
  System.Web.UI.Design::XmlDocumentSchema

[SecurityPermissionAttribute(SecurityAction::Demand, Flags = SecurityPermissionFlag::UnmanagedCode)]
public ref class XmlDocumentSchema sealed : IDataSourceSchema

NameDescription
System_CAPS_pubmethodXmlDocumentSchema(XmlDocument^, String^)

Creates an instance of the XmlDocumentSchema class using a specified XmlDocument and an XPath string.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetViews()

Gets an array containing information about each child node starting at the node identified by the xPath parameter in the constructor, or each child node starting at the document root if the xPath parameter is empty.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The XmlDocumentSchema class is used by custom control designer components to list the structural elements of an XML document at design time. Use the XmlDocumentSchema class to populate lists of document elements to allow users to select document elements in UI features at design time.

The following code example uses an XmlDocumentSchema object to display the structure of an XML document in a TreeView control.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: