SiteMapDataSourceView コンストラクター

定義

SiteMapDataSourceView クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNode)

SiteMapDataSourceView クラスの新しい名前付きインスタンスを初期化し、指定された 1 つのノードをノードの内部コレクションに追加します。

SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNodeCollection)

ノードの内部コレクションを指定したノード コレクションに設定して、 SiteMapDataSourceView クラスの新しい名前付きインスタンスを初期化します。

SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNode)

SiteMapDataSourceView クラスの新しい名前付きインスタンスを初期化し、指定された 1 つのノードをノードの内部コレクションに追加します。

public:
 SiteMapDataSourceView(System::Web::UI::WebControls::SiteMapDataSource ^ owner, System::String ^ name, System::Web::SiteMapNode ^ node);
public SiteMapDataSourceView(System.Web.UI.WebControls.SiteMapDataSource owner, string name, System.Web.SiteMapNode node);
new System.Web.UI.WebControls.SiteMapDataSourceView : System.Web.UI.WebControls.SiteMapDataSource * string * System.Web.SiteMapNode -> System.Web.UI.WebControls.SiteMapDataSourceView
Public Sub New (owner As SiteMapDataSource, name As String, node As SiteMapNode)

パラメーター

owner
SiteMapDataSource

SiteMapDataSourceが関連付けられているSiteMapDataSourceView

name
String

ビューの名前。

node
SiteMapNode

内部SiteMapNodeに追加するSiteMapNodeCollection

注釈

SiteMapDataSourceView クラスは、SiteMapNodeCollection オブジェクトのラッパー クラスです。 SiteMapDataSourceView コンストラクターを使用してSiteMapDataSourceViewを作成すると、1 つのSiteMapNode オブジェクトで内部ノード コレクションが初期化されます。 サイト マップ構造は、ノードを参照ポイントとして使用して移動されます。

こちらもご覧ください

適用対象

SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNodeCollection)

ノードの内部コレクションを指定したノード コレクションに設定して、 SiteMapDataSourceView クラスの新しい名前付きインスタンスを初期化します。

public:
 SiteMapDataSourceView(System::Web::UI::WebControls::SiteMapDataSource ^ owner, System::String ^ name, System::Web::SiteMapNodeCollection ^ collection);
public SiteMapDataSourceView(System.Web.UI.WebControls.SiteMapDataSource owner, string name, System.Web.SiteMapNodeCollection collection);
new System.Web.UI.WebControls.SiteMapDataSourceView : System.Web.UI.WebControls.SiteMapDataSource * string * System.Web.SiteMapNodeCollection -> System.Web.UI.WebControls.SiteMapDataSourceView
Public Sub New (owner As SiteMapDataSource, name As String, collection As SiteMapNodeCollection)

パラメーター

owner
SiteMapDataSource

SiteMapDataSourceが関連付けられているSiteMapDataSourceView

name
String

ビューの名前。

collection
SiteMapNodeCollection

SiteMapNodeCollectionが表示するノードのSiteMapDataSourceView

注釈

SiteMapDataSourceView クラスは、SiteMapNodeCollection オブジェクトのラッパー クラスです。 SiteMapDataSourceView コンストラクターを使用してSiteMapDataSourceViewを作成すると、コンストラクターに渡されるSiteMapNodeCollectionを使用して内部ノード コレクションが初期化されます。

こちらもご覧ください

適用対象