New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Definition

Constructors

Initializes a new instance of the XmlSiteMap class.

C#
public XmlSiteMap()
C#
public XmlSiteMap(IPathResolver pathResolver, IVirtualPathProvider provider, ICacheProvider cacheProvider)
Parameters:pathResolverIPathResolverproviderIVirtualPathProvidercacheProviderICacheProvider

Properties

Gets or sets the default path.

C#
public static string DefaultPath { get; set; }
Property Value:

The default path.

Methods

Loads from the default path.

C#
public void Load()

Loads from the specified path.

C#
public virtual void LoadFrom(string relativeVirtualPath)
Parameters:relativeVirtualPathstring

The relative virtual path.