IDataNode Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public interface IDataNode
type IDataNode = interface
Public Interface IDataNode
- Derived
Methods
| Name | Description |
|---|---|
| AddToArray(IDataNode) |
If this is an array node, add a new node to the end, otherwise no-op. |
| AddToMap(String, IDataNode) |
If this is a map node, add a new key and the associated node, otherwise no-op. |
| GetCollectionCount() |
If this node is an array or a map, return the number of entries. |
| GetMapKeys() |
If this node is a map, return an enumeration of keys. |
| GetNodeByIndex(Int32) |
Return the nth child node of an array node. |
| GetNodeByKey(String) |
Return the child node of a map node by its key. |
| GetNodeType() |
Get the type for this node. |
| GetValue() |
Get the value associated with this node. |
| IsArray() |
Is this node an array of other nodes? |
| IsMap() |
Is this node a map (dictionary) to other nodes? |
| IsUnassigned() |
Is this node created but has not yet been assigned a data type? |
| SetNodeType(DataNodeType, Object) |
Set the type, and the associated value for this node. |
| SetValue(Object) |
Set the value associated with this node. |