XmlSiteMapProvider.Clear 方法
定义
移除子和父站点地图节点的集合中的所有元素和 XmlSiteMapProvider 对象在内部作为其状态的一部分进行跟踪的站点地图提供程序。Removes all elements in the collections of child and parent site map nodes and site map providers that the XmlSiteMapProvider object internally tracks as part of its state.
protected:
override void Clear();
protected override void Clear ();
override this.Clear : unit -> unit
Protected Overrides Sub Clear ()
注解
XmlSiteMapProvider类将重写继承的 Clear 方法,以便在基本实现之外提供附加状态清除 StaticSiteMapProvider.Clear ,包括清除其子提供程序跟踪和 RootNode 属性跟踪机制。The XmlSiteMapProvider class overrides the inherited Clear method to provide additional state cleanup beyond the basic StaticSiteMapProvider.Clear implementation, including clearing its child provider tracking and the RootNode property tracking mechanisms.