Share via


SwitchableSiteMapProvider.GetUnderlyingProvider method

If the specified SiteMapProvider object is a SwitchableSiteMapProvider object, this method returns the wrapped provider.

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

Syntax

'Declaration
Public Shared Function GetUnderlyingProvider ( _
    siteMapProvider As SiteMapProvider _
) As SiteMapProvider
'Usage
Dim siteMapProvider As SiteMapProvider
Dim returnValue As SiteMapProvider

returnValue = SwitchableSiteMapProvider.GetUnderlyingProvider(siteMapProvider)
public static SiteMapProvider GetUnderlyingProvider(
    SiteMapProvider siteMapProvider
)

Parameters

Return value

Type: System.Web.SiteMapProvider

See also

Reference

SwitchableSiteMapProvider class

SwitchableSiteMapProvider members

Microsoft.SharePoint.Publishing.Navigation namespace