Share via


NavigationTermSet.GetAsResolvedByWeb method

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

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

Syntax

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

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

Parameters

Return value

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

Remarks

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

The GetAsResolvedByWeb method is intended to support editing of TermSet objects that are not actually being used yet by an SPWeb. If SPWeb 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.Publishing.Navigation namespace