Skip to main content
.NET 8.0+

IModelNode Members

Serves as the base interface for interfaces that represent Application Model nodes.

Properties

Name Description
Application Provides access to the Application Model‘s root node.
Index Specifies the order index by which nodes are arranged.
NodeCount Gets the number of child nodes.
Parent Provides access to the parent node.
Root For internal use only.

Methods

Name Description
AddNode<NodeType>() Adds a new child node of a specific type.
AddNode<NodeType>(String) Adds a new child node of a specific type with a specific identifier.
ClearValue(String) Resets the node’s property value to the value specified in the previous Application Model layer.
GetNode(Int32) Gets the child node with a specific index.
GetNode(String) Gets the child node with a specific identifier.
GetValue<ValueType>(String) Returns the value of the node’s specified property.
HasValue(String) Indicates whether the node’s property has a value assigned.
Remove() Removes the current node.
SetValue<ValueType>(String, ValueType) Changes the value of the node’s specified property.
See Also