NavigationTermSetView constructor (ClientRuntimeContext, Web, String)
Initializes a new instance of a NavigationTermSetView object by using the context of the provided SPWeb object and the SiteMapProviderName property.
Namespace: Microsoft.SharePoint.Client.Publishing.Navigation
Assembly: Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)
Syntax
'Declaration
Public Sub New ( _
context As ClientRuntimeContext, _
web As Web, _
siteMapProviderName As String _
)
'Usage
Dim context As ClientRuntimeContext
Dim web As Web
Dim siteMapProviderName As String
Dim instance As New NavigationTermSetView(context, _
web, siteMapProviderName)
public NavigationTermSetView(
ClientRuntimeContext context,
Web web,
string siteMapProviderName
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
web
Type: Microsoft.SharePoint.Client.WebInitializes 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.