EldoS
MsgConnect home / Documentation / DataTree.ReadString method
Navigation
Web site
Support
Table Of Contents

Filter: C++  Pascal  ActiveX  C#  VB.NET  Java SE  Java ME  Palm  DLL 


DataTree.ReadString

DataTree     See also    


Attemts to read string data from the specified key/value.

Declaration

[C++]
    bool ReadString(char* Key, char* ValueName, char* DefValue, char*& Value);

[Pascal]
    function ReadString(Key : string; ValueName : string; DefValue : string; var Value : string): Boolean;

[VB6]
    not applicable;

[ActiveX]
    not applicable;

[C#]
    public bool ReadString(string Key, string ValueName, byte[] DefValue,byte[] Value);

[VB.NET]
    Public Function ReadString(ByVal Key As String, ByVal ValueName As String, ByVal DefValue As Byte(), ByVal Value As Byte()) As Boolean

[Java]
    public boolean ReadString(String Key, String ValueName, byte[] DefValue,byte[] Value);

[Java ME]
    public boolean ReadString(String Key, String ValueName, byte[] DefValue,byte[] Value);

[Palm]
    bool ReadString(char* Key, char* ValueName, char* DefValue, char*& Value);

[DLL]
    not applicable;

Parameters

  • Key - key name. For more information look here.
  • ValueName - value name. For more information look here.
  • DefValue - set here the value that will be returned on failure.
  • Value - returns read value on success or DefValue on failure.

Return value

    True on success.
    False on failure.

Description

    Use this method to read String data from the specified key/value. Sets Value and returns True on success or sets Value to DefValue and returns False on failure.

See also:     ReadBinary     ReadBool     ReadInteger     ReadDouble     ReadMultiString     ReadWideString     WriteString    

 
Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2005, EldoS Corporation