Share via


NavigationTermSet.GetAsResolvedByWeb method

Constructs an editable NavigationTermSet object that is bound to the specified TermSet object.

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

Syntax

'Declaration
Public Shared Function GetAsResolvedByWeb ( _
    context As ClientRuntimeContext, _
    termSet As TermSet, _
    web As Web, _
    siteMapProviderName As String _
) As NavigationTermSet
'Usage
Dim context As ClientRuntimeContext
Dim termSet As TermSet
Dim web As Web
Dim siteMapProviderName As String
Dim returnValue As NavigationTermSet

returnValue = NavigationTermSet.GetAsResolvedByWeb(context, _
    termSet, web, siteMapProviderName)
public static NavigationTermSet GetAsResolvedByWeb(
    ClientRuntimeContext context,
    TermSet termSet,
    Web web,
    string siteMapProviderName
)

Parameters

  • siteMapProviderName
    Type: System.String

    The name of the site map provider to be used for the new NavigationTermSet object.

Return value

Type: Microsoft.SharePoint.Client.Publishing.Navigation.NavigationTermSet
An editable NavigationTerm object

Remarks

The properties are resolved hypothetically as if the termSet is being used by the specified Web and siteMapProviderName.

The GetAsResolvedByWeb method is intended to support editing of TermSet objects that are not actually being used yet by a Web. If Web settings are already configured, a better approach is to use the GetTermSetForWeb method or the Current property to obtain an object with a verified view, and then call the GetAsEditable method if you need to make changes.

See also

Reference

NavigationTermSet class

NavigationTermSet members

Microsoft.SharePoint.Client.Publishing.Navigation namespace