Initialize a new instance of the SitemapNavigator class using sitemap data from the provided DataConnection.
Namespace: Composite.DataAssembly: Composite (in Composite.dll) Version: 5.3.6135.33083
Syntax
C# |
---|
public SitemapNavigator( DataConnection connection ) |
Visual Basic |
---|
Public Sub New ( _ connection As DataConnection _ ) |
Visual C++ |
---|
public: SitemapNavigator( DataConnection^ connection ) |
Parameters
- connection
- Type: Composite.Data..::..DataConnection
The DataConnection to read sitemap data from
Examples
using (DataConnection dataConnection = new DataConnection())
{
SitemapNavigator sitemapNavigator = new SitemapNavigator(dataConnection);
string thisPageTitle = sitemapNavigator.CurrentPageNode.Title;
}