SiteMapProvider.AddNode 메서드
정의
사이트 맵 공급자가 유지 관리하는 노드 컬렉션에 SiteMapNode 개체를 추가합니다.Adds a SiteMapNode object to the node collection that is maintained by the site map provider.
오버로드
AddNode(SiteMapNode) |
사이트 맵 공급자가 유지 관리하는 노드 컬렉션에 SiteMapNode 개체를 추가합니다.Adds a SiteMapNode object to the node collection that is maintained by the site map provider. |
AddNode(SiteMapNode, SiteMapNode) |
사이트 맵 공급자가 유지 관리하는 노드 컬렉션에 SiteMapNode 개체를 추가하고 부모 SiteMapNode 개체를 지정합니다.Adds a SiteMapNode object to the node collection that is maintained by the site map provider and specifies the parent SiteMapNode object. |
AddNode(SiteMapNode)
사이트 맵 공급자가 유지 관리하는 노드 컬렉션에 SiteMapNode 개체를 추가합니다.Adds a SiteMapNode object to the node collection that is maintained by the site map provider.
protected:
virtual void AddNode(System::Web::SiteMapNode ^ node);
protected virtual void AddNode (System.Web.SiteMapNode node);
abstract member AddNode : System.Web.SiteMapNode -> unit
override this.AddNode : System.Web.SiteMapNode -> unit
Protected Overridable Sub AddNode (node As SiteMapNode)
매개 변수
- node
- SiteMapNode
공급자가 유지 관리하는 노드 컬렉션에 추가할 SiteMapNode입니다.The SiteMapNode to add to the node collection maintained by the provider.
설명
파생 된 클래스는 SiteMapProvider 클래스에서 재정의할 수는 AddNode 메서드 추가 하기 위한 논리를 제공 하는 SiteMapNode 사이트 맵 공급자가 유지 관리 되는 노드 컬렉션에 개체.Classes deriving from the SiteMapProvider class can override the AddNode method and provide logic for adding a SiteMapNode object to the node collection that is maintained by the site map provider. 기본 구현 된 AddNode 메서드가 throw를 NotImplementedException 예외입니다.The default implementation of the AddNode method throws a NotImplementedException exception.
추가 정보
적용 대상
AddNode(SiteMapNode, SiteMapNode)
사이트 맵 공급자가 유지 관리하는 노드 컬렉션에 SiteMapNode 개체를 추가하고 부모 SiteMapNode 개체를 지정합니다.Adds a SiteMapNode object to the node collection that is maintained by the site map provider and specifies the parent SiteMapNode object.
protected public:
virtual void AddNode(System::Web::SiteMapNode ^ node, System::Web::SiteMapNode ^ parentNode);
protected internal virtual void AddNode (System.Web.SiteMapNode node, System.Web.SiteMapNode parentNode);
abstract member AddNode : System.Web.SiteMapNode * System.Web.SiteMapNode -> unit
override this.AddNode : System.Web.SiteMapNode * System.Web.SiteMapNode -> unit
Protected Friend Overridable Sub AddNode (node As SiteMapNode, parentNode As SiteMapNode)
매개 변수
- node
- SiteMapNode
공급자가 유지 관리하는 노드 컬렉션에 추가할 SiteMapNode입니다.The SiteMapNode to add to the node collection maintained by the provider.
- parentNode
- SiteMapNode
node
의 부모 노드인 SiteMapNode입니다.The SiteMapNode that is the parent of node
.
예외
모든 경우In all cases.
설명
파생 된 클래스는 SiteMapProvider 클래스에서 재정의할 수 있습니다는 AddNode 메서드 추가 하기 위한 논리를 제공 하는 SiteMapNode 사이트 맵 공급자가 유지 관리 되는 노드 컬렉션에 지정된 된 부모 개체입니다.Classes deriving from the SiteMapProvider class can override the AddNode method and provide logic for adding a SiteMapNode object with a specified parent to the node collection that is maintained by the site map provider. 예를 들어를 XmlSiteMapProvider.AddNode 메서드를 추가 SiteMapNode 하 여 지정 된 개체 node
에 SiteMapNodeCollection 에서 유지 되는 컬렉션을 XmlSiteMapProvider 간의 부모/자식 관계를 만들고 개체를 SiteMapNode 지정 된 개체 node
고 parentNode
입니다.For example, the XmlSiteMapProvider.AddNode method adds the SiteMapNode object that is specified by node
to the SiteMapNodeCollection collection that is maintained by the XmlSiteMapProvider object and creates a parent/child relationship between the SiteMapNode object that is specified by node
and parentNode
. 기본 구현 된 AddNode 메서드가 throw를 NotImplementedException 예외입니다.The default implementation of the AddNode method throws a NotImplementedException exception.