NavigationTermSet.GetAsResolvedByView method
Constructs a NavigationTermSet object in an editable mode that is bound to a manually constructed NavigationTermSetView 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, _
termSet As TermSet, _
view As NavigationTermSetView _
) As NavigationTermSet
'Usage
Dim context As ClientRuntimeContext
Dim termSet As TermSet
Dim view As NavigationTermSetView
Dim returnValue As NavigationTermSet
returnValue = NavigationTermSet.GetAsResolvedByView(context, _
termSet, view)
public static NavigationTermSet GetAsResolvedByView(
ClientRuntimeContext context,
TermSet termSet,
NavigationTermSetView view
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
termSet
Type: Microsoft.SharePoint.Client.Taxonomy.TermSetThe TermSet object for which to instantiate a NavigationTermSet object
view
Type: Microsoft.SharePoint.Client.Publishing.Navigation.NavigationTermSetViewThe NavigationTermSetView object to use when instantiating the NavigationTermSet object.
Return value
Type: Microsoft.SharePoint.Client.Publishing.Navigation.NavigationTermSet
A NavigationTermSet object in editable mode.
Remarks
The properties are resolved relative to the specified custom view.
The GetAsResolvedByView method is intended to support the editing of NavigationTermSet objects that are not actually being used yet by a Web object. If Web settings are already configured, a better approach is to use the GetTermSetForWeb method or the Current property to obtain the real object, and then to call the GetAsEditable method if changes are required.