Share via


NavigationTerm.GetWithNewView method

Returns a new NavigationTerm object based on the NavigationTermSetView that is provided.

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

Syntax

'Declaration
Public Overridable Function GetWithNewView ( _
    newView As NavigationTermSetView _
) As NavigationTerm
'Usage
Dim instance As NavigationTerm
Dim newView As NavigationTermSetView
Dim returnValue As NavigationTerm

returnValue = instance.GetWithNewView(newView)
public virtual NavigationTerm GetWithNewView(
    NavigationTermSetView newView
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.Publishing.Navigation.NavigationTerm
A new NavigationTermSetView object of the NavigationTerm object.

Remarks

This method is used most commonly to manipulate the trimming settings, such as the ExcludeTermsByPermissions() method and the ExcludeTermsByProvider() method.

See also

Reference

NavigationTerm class

NavigationTerm members

Microsoft.SharePoint.Client.Publishing.Navigation namespace