Discuss this help topic in MsgConnect Forum

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



DataTree.ReadWideString

DataTree     See also    


Attempts to read WideString data from the specified key/value.

Declaration

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

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

[VB6]
    not applicable;

[ActiveX]
    not applicable;

[C#]
    public bool ReadWideString(string Key, string ValueName, string DefValue, ref string Value);

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

[Java]
    public boolean ReadWideString(String Key, String ValueName, String DefValue, StringHolder Value);

[Java ME]
    public boolean ReadWideString(String Key, String ValueName, String DefValue, StringHolder 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 WideString 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     ReadString     ReadMultiString     WriteWideString    

Discuss this help topic in MsgConnect Forum