System.Web.XmlSiteMapProvider.Dispose Method

Notifies the file monitor of the Web.sitemap file that the System.Web.XmlSiteMapProvider object no longer requires the file to be monitored.

Syntax

public void Dispose ()

Remarks

The System.Web.XmlSiteMapProvider class implements the IDisposable.Dispose method of the IDisposable interface to release its associated file monitor when the site map file is unloaded from memory. This overload of the erload:System.Web.XmlSiteMapProvider.Dispose method calls the overload that takes a bool parameter and sets the value to true.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0