NodeBase.GetChildren Method
Namespace: Rebex.IO.FileSystem
Assembly: Rebex.FileSystem.dll (version 7.0.9119)
GetChildren()
Gets an enumerator that iterates through the child nodes in the current node.
Declaration
public IEnumerable<NodeBase> GetChildren()
Returns
Type | Description |
---|---|
IEnumerable<NodeBase> | An enumerator that iterates through the child nodes in the current node. |
GetChildren(NodeType)
Gets an enumerator that iterates through the child nodes in the current node.
Only nodes whose NodeType matches the requiredType
are returned.
Declaration
public IEnumerable<NodeBase> GetChildren(NodeType requiredType)
Parameters
Type | Name | Description |
---|---|---|
NodeType | requiredType | Required type of the child nodes. |
Returns
Type | Description |
---|---|
IEnumerable<NodeBase> | An enumerator that iterates through the child nodes in the current node. |