Share via


ConfigurationNode Members

Include Protected Members
Include Inherited Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The ConfigurationNode type exposes the following members.

Constructors

  Name Description
Protected method ConfigurationNode Overloaded.

Methods

  Name Description
Public method AddNode
Add a node to the current node's collection.
Public method ClearChildNodes
Clear the Nodes collection.
Public method CompareTo
Compares the specified node to the current node based on the value of the property.
Public method Dispose Overloaded.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MoveAfter
Moves the specified child node immediately after the specified reference node.
Public method MoveBefore
Moves the specified node immediately before the specified reference node.
Protected method OnChildAdded

Raises the event.

Protected method OnChildAdding

Raises the event.

Protected method OnChildMoved

Raises the event.

Protected method OnChildRemoved

Raises the event.

Protected method OnChildRemoving

Raises the event.

Protected method OnRemoved

Raises the event.

Protected method OnRemoving

Raises the event.

Protected method OnRenamed

Raises the event.

Protected method OnRenaming

Raises the event.

Public method Remove
Removes the current node from its parent node.
Public method RemoveNode
Remove a specific node from the current node's collection.
Protected method Rename Overloaded.
Public method ToString
Creates and returns a string representation of the current node.
(Overrides Object.ToString().)
Public method Validate
Perform custom validation for this node.

Properties

  Name Description
Public property FirstNode
Gets the first child node in the node collection.
Public property Hierarchy
Gets or sets the IConfigurationUIHierarchy containing this node.
Public property Id
Gets a runtime-generated, non-persisted unique identifier for this node.
Public property Index
Gets the position of this node in the .
Public property LastNode
Gets the first child node in the node collection.
Public property Name
Gets or sets the name of the node.
Public property NextSibling
Gets the node immediately following this node.
Public property Nodes
Gets the collection of ConfigurationNode objects assigned to the current configuration node.
Public property Parent
Gets the parent configuration node of the the current configuration node.
Public property Path
Gets the path from the root node to the current node.
Public property PreviousSibling
Gets the node immediately preceding this node.
Public property Site
Gets or sets the ISite for the node.
Public property SortChildren
Gets if children added to the node are sorted.

Events

  Name Description
Public event ChildAdded
Occurs after a child node is added to the current node.
Public event ChildAdding
Occurs after a child node is added to the current node.
Public event ChildMoved
Occurs after a child node is moved from its parent's node collection.
Public event ChildRemoved
Occurs after a child node of the current node is removed.
Public event ChildRemoving
Occurs before a child node of the current node is removed.
Public event Disposed
Occurs after the current node is disposed.
Public event Removed
Occurs after the current node is removed from its parent's node collection.
Public event Removing
Occurs before the current node is removed from its parent's node collection.
Public event Renamed
Occurs after the name of the current node changes.
Public event Renaming
Occurs after the name of the current node changes.

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IComparable.CompareTo
Compares the specified node to the current node based on the value of the property.

See Also

ConfigurationNode Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.