XmlDocumentSchema(XmlDocument, String) Constructor
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.