XmlSiteMapProvider.RemoveNode(SiteMapNode) 方法

定義

從提供者追蹤的所有節點集合中,移除指定的 SiteMapNode 物件。Removes the specified SiteMapNode object from all node collections that are tracked by the provider.

protected public:
 override void RemoveNode(System::Web::SiteMapNode ^ node);
protected internal override void RemoveNode (System.Web.SiteMapNode node);
override this.RemoveNode : System.Web.SiteMapNode -> unit
Protected Friend Overrides Sub RemoveNode (node As SiteMapNode)

參數

node
SiteMapNode

要從節點集合中移除的節點。The node to remove from the node collections.

例外狀況

node 是所屬網站地圖提供者的根節點。node is the root node of the site map provider that owns it.

-或--or- node 不是由提供者管理,也不是由這個提供者之父系提供者鏈結中的提供者管理。node is not managed by the provider or by a provider in the chain of parent providers for this provider.

nodenullnode is null.

適用於

另請參閱