NavigationTermSetView constructor

Initializes a new instance of a NavigationTermSetView object by using the context of the provided SPWeb object and the SiteMapProviderName property.

Namespace:  Microsoft.SharePoint.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Sub New ( _
    web As SPWeb, _
    siteMapProviderName As String _
)
'Usage
Dim web As SPWeb
Dim siteMapProviderName As String

Dim instance As New NavigationTermSetView(web, siteMapProviderName)
public NavigationTermSetView(
    SPWeb web,
    string siteMapProviderName
)

Parameters

Remarks

The constructor does not enable trimming. In other words, the ExcludeDeprecatedTerms property, the NavigationTermSetView.ExcludeTermsByPermissions property, and the ExcludeTermsByProvider property are initialized to false.

See also

Reference

NavigationTermSetView class

NavigationTermSetView members

Microsoft.SharePoint.Publishing.Navigation namespace

StandardNavigationProviderNames