語言

XmlDocumentSchema(XmlDocument, String) 建構函式

定義

使用指定的 XmlDocumentSchema XPath 字串建立類別XmlDocument實例。

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)

參數

xmlDocument
XmlDocument

一個物件的 XmlDocument 實例。

xPath
String

一個用來識別文件根節點子節點的 XPath 字串。

備註

使用參數 xPath 指定 XML 文件中要檢查的特定節點,或指定空字串(“”)來檢查完整文件。

適用於

另請參閱