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

Parameters

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

Return Value

An integer value of the child node.

Remarks

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

See Also