編輯

共用方式為


XmlDocumentSchema(XmlDocument, String) Constructor

Definition

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

public:
 XmlDocumentSchema(System::Xml::XmlDocument ^ xmlDocument, System::String ^ xPath);
public XmlDocumentSchema (System.Xml.XmlDocument xmlDocument, string xPath);
new System.Web.UI.Design.XmlDocumentSchema : System.Xml.XmlDocument * string -> System.Web.UI.Design.XmlDocumentSchema
Public Sub New (xmlDocument As XmlDocument, xPath As String)

Parameters

xmlDocument
XmlDocument

An instance of an XmlDocument object.

xPath
String

An XPath string identifying the child nodes of the document root.

Remarks

Use the xPath parameter to specify either a specific node within the XML document to examine, or specify the empty string ("") to examine the complete document.

Applies to

See also