SiteMapNode.GetDataSourceView(SiteMapDataSource, String) 메서드

정의

현재 노드와 관련된 SiteMapDataSourceView 개체를 검색합니다.Retrieves the SiteMapDataSourceView object that is associated with the current node.

public:
 System::Web::UI::WebControls::SiteMapDataSourceView ^ GetDataSourceView(System::Web::UI::WebControls::SiteMapDataSource ^ owner, System::String ^ viewName);
public System.Web.UI.WebControls.SiteMapDataSourceView GetDataSourceView (System.Web.UI.WebControls.SiteMapDataSource owner, string viewName);
member this.GetDataSourceView : System.Web.UI.WebControls.SiteMapDataSource * string -> System.Web.UI.WebControls.SiteMapDataSourceView
Public Function GetDataSourceView (owner As SiteMapDataSource, viewName As String) As SiteMapDataSourceView

매개 변수

owner
SiteMapDataSource

뷰와 관련된 SiteMapDataSource 컨트롤입니다.A SiteMapDataSource control that the view is associated with.

viewName
String

뷰의 이름입니다.The name of the view.

반환

현재 노드에 대한 명명된 SiteMapDataSourceView입니다.A named SiteMapDataSourceView for the current node.

적용 대상

추가 정보