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
newView
Type: Microsoft.SharePoint.Client.Publishing.Navigation.NavigationTermSetViewThe NavigationTermSetView object to use when retrieving the new NavigationTerm object.
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.