SiteMapNode.GetDataSourceView(SiteMapDataSource, String) Method
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.
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
Parameters
- owner
- SiteMapDataSource
A SiteMapDataSource control that the view is associated with.
- viewName
- String
The name of the view.
Returns
A named SiteMapDataSourceView for the current node.
Applies to
See also
Col·laboreu amb nosaltres a GitHub
La font d'aquest contingut es pot trobar al GitHub, on també podeu crear i revisar problemes i sol·licituds d'extracció. Per obtenir més informació, consulteu la nostra guia per a col·laboradors.