Discuss this help topic in SecureBlackbox Forum

TElDCNode.ReadBoolean

TElDCNode     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Read the boolean value of the child node.

Declaration

[C#/Java]
    bool ReadBoolean(string Name, bool Default, bool RaiseExceptionIfNotFound);

[VB.NET]
    Function ReadBoolean(ByVal Name As String, ByVal Default As Boolean, ByVal RaiseExceptionIfNotFound As Boolean) As Boolean

[Pascal]
    function ReadBoolean(const Name : string; Default : boolean; RaiseExceptionIfNotFound : boolean) : boolean;

[C++]
    bool ReadBoolean(const std::string &Name, bool Default, bool RaiseExceptionIfNotFound);

[PHP]
    bool ReadBoolean(string $Name, bool $Default, bool $RaiseExceptionIfNotFound)

Parameters

  • Name - The name of the node.
  • Default - The result that should be returned if the node with specified name was not found.
  • RaiseExceptionIfNotFound - Set this parameter to True if the exception should be raised if the node was not found.

Return value

    Returns the boolean value of the node with given name.

Description

    This method is used to read the boolean value of the desired node.

See also:     ReadInteger     ReadRDN     ReadString     ReadStringList    

Discuss this help topic in SecureBlackbox Forum