Provider Property

SiteMapNode.Provider Property


Gets the SiteMapProvider provider that the SiteMapNode object is tracked by.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public SiteMapProvider Provider { get; }

Property Value

Type: System.Web.SiteMapProvider

The SiteMapProvider that the SiteMapNode is tracked by.

A provider is always returned; passing null to the SiteMapNode constructor results in an ArgumentException exception.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft