Discuss this help topic in MsgConnect Forum

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



DataTree.WriteString

DataTree     See also    


Writes string data to the value and returns True on success.

Declaration

[C++]
    bool WriteString(char* Key, char* ValueName, char* Value);

[Pascal]
    function WriteString(Key : string; ValueName : string; Value : string): Boolean;

[VB6]
    not applicable;

[ActiveX]
    not applicable;

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

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

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

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

[DLL]
    not applicable;

Parameters

  • Key - key name. For more information look here.
  • ValueName - value name. For more information look here.
  • Value - written value.

Return value

    True on success.
    False on failure.

Description

    Use this method to write string data to the specified value.

See also:     ReadString     WriteBinary     WriteBool     WriteDouble     WriteInteger     WriteMultiString     WriteWideString    

Discuss this help topic in MsgConnect Forum