共用方式為


XmlDesignerHierarchicalDataSourceView(XmlDataSourceDesigner, String) 建構函式

定義

使用提供的設計工具和 XPath,初始化 XmlDesignerHierarchicalDataSourceView 類別的新執行個體。

public:
 XmlDesignerHierarchicalDataSourceView(System::Web::UI::Design::WebControls::XmlDataSourceDesigner ^ owner, System::String ^ viewPath);
public XmlDesignerHierarchicalDataSourceView (System.Web.UI.Design.WebControls.XmlDataSourceDesigner owner, string viewPath);
new System.Web.UI.Design.WebControls.XmlDesignerHierarchicalDataSourceView : System.Web.UI.Design.WebControls.XmlDataSourceDesigner * string -> System.Web.UI.Design.WebControls.XmlDesignerHierarchicalDataSourceView
Public Sub New (owner As XmlDataSourceDesigner, viewPath As String)

參數

viewPath
String

XPath 字串,識別檢視的資料。

適用於

另請參閱