Discuss this help topic in SecureBlackbox Forum

TElDCNode.ReadString

TElDCNode     See also     


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


Read the string value of the child node.

Declaration

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

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

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

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

[PHP]
    string ReadString(string $Name, string $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 string value of the node with given name.

Description

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

See also:     ReadBoolean     ReadInteger     ReadRDN     ReadStringList    

Discuss this help topic in SecureBlackbox Forum