RFA .NET
Gets a bool value 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 bool GetChildAsBool(
	RFA_String name,
	bool defVal
)
Visual Basic
Public Function GetChildAsBool ( _
	name As RFA_String, _
	defVal As Boolean _
) As Boolean
Visual C++
public:
bool GetChildAsBool(
	RFA_String^ name, 
	bool defVal
)
F#
member GetChildAsBool : 
        name:RFA_String * 
        defVal:bool -> bool 

Parameters

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

Return Value

A boolean value of the child node.

Remarks

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

See Also