NavigationTerm.GetAsResolvedByView method
Constructs a NavigationTerm object in editable mode that is bound to the specified Term object.
Namespace: Microsoft.SharePoint.Client.Publishing.Navigation
Assembly: Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)
Syntax
'Declaration
Public Shared Function GetAsResolvedByView ( _
context As ClientRuntimeContext, _
term As Term, _
view As NavigationTermSetView _
) As NavigationTerm
'Usage
Dim context As ClientRuntimeContext
Dim term As Term
Dim view As NavigationTermSetView
Dim returnValue As NavigationTerm
returnValue = NavigationTerm.GetAsResolvedByView(context, _
term, view)
public static NavigationTerm GetAsResolvedByView(
ClientRuntimeContext context,
Term term,
NavigationTermSetView view
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
term
Type: Microsoft.SharePoint.Client.Taxonomy.TermThe Term object for which to create a related NavigationTerm object.
view
Type: Microsoft.SharePoint.Client.Publishing.Navigation.NavigationTermSetViewThe NavigationTermSetView used to resolve the properties of the new NavigationTerm object.
Return value
Type: Microsoft.SharePoint.Client.Publishing.Navigation.NavigationTerm
A NavigationTerm object
Remarks
The NavigationTerm properties are resolved relative to the specified view.
The GetAsResolvedByView method is intended to support the editing of TermSet objects that are not actually being used yet by a Web. If the Web settings are already configured, a better approach is to use the GetTermSetForWeb method to obtain an object, with a verified view and then to call GetAsEditable if you need to make changes.