NavigationTerm.GetAsResolvedByView method
Constructs a NavigationTerm object in editable mode that is bound to the specified Term object.
Namespace: Microsoft.SharePoint.Publishing.Navigation
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Shared Function GetAsResolvedByView ( _
term As Term, _
view As NavigationTermSetView _
) As NavigationTerm
'Usage
Dim term As Term
Dim view As NavigationTermSetView
Dim returnValue As NavigationTerm
returnValue = NavigationTerm.GetAsResolvedByView(term, _
view)
public static NavigationTerm GetAsResolvedByView(
Term term,
NavigationTermSetView view
)
Parameters
term
Type: Microsoft.SharePoint.Taxonomy.TermThe Term object for which to create a related NavigationTerm object.
Return value
Type: Microsoft.SharePoint.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 an SPWeb. If the SPWeb settings are already configured, a better approach is to use the GetTermSetForWeb method or the NavigationTerm property to obtain an object, with a verified view and then to call GetAsEditable if you need to make changes.