Discuss this help topic in SecureBlackbox Forum

TElJsonObject.GetBooleanValue

TElJsonObject     See also     


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


This topic is under development…

Declaration

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

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

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

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

[PHP]
    bool GetBooleanValue(string $Name)
    bool GetBooleanValue(string $Name, bool $Default)

Parameters

  • Name -
  • Default -

Return value

    …

Description

    (1) Returns the value of a boolean 'Name' property of the object if it is available. Otherwise a "name not found" exception is raised.
    (2) Otherwise the Default value is returned.

See also:         

Discuss this help topic in SecureBlackbox Forum