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
web
Type: Microsoft.SharePoint.SPWebInitializes the WebId property, the ServerRelativeSiteUrl property, the ServerRelativeWebUrl property, and the WebTitle property.
siteMapProviderName
Type: System.StringInitializes the SiteMapProviderName property.
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.