RFA .NET
Gets a ConfigTree type of a descendant node.

Namespace: ThomsonReuters.RFA.Config
Assembly: RFA8_NET110_x64 (in RFA8_NET110_x64.dll) Version: 8.0.1.1

Syntax

C#
public ConfigTree GetChildAsTree(
	RFA_String name,
	ConfigTree defVal
)
Visual Basic
Public Function GetChildAsTree ( _
	name As RFA_String, _
	defVal As ConfigTree _
) As ConfigTree
Visual C++
public:
ConfigTree^ GetChildAsTree(
	RFA_String^ name, 
	ConfigTree^ defVal
)
F#
member GetChildAsTree : 
        name:RFA_String * 
        defVal:ConfigTree -> ConfigTree 

Parameters

name
Type: ThomsonReuters.RFA.Common..::..RFA_String
A name of the queried child node.
defVal
Type: ThomsonReuters.RFA.Config..::..ConfigTree
The default value if the node does not exist.

Return Value

A ConfigTree type node.

Remarks

A ConfigTree type of a descendant node will be returned if the tree has a such named child node and its type is ConfigTree. Otherwise the defVal will be returned.

See Also