Discuss this help topic in MsgConnect Forum

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



DataTree.WriteBinary

DataTree     See also    


Writes binary data.

Declaration

[C++]
    bool WriteBinary(char* Key, char* ValueName, void* Buffer, long BufferLen);

[Pascal]
    function WriteBinary(Key : string; ValueName : string; var Buffer; BufferLen : integer): Boolean;

[VB6]
    not applicable;

[ActiveX]
    not applicable;

[C#]
    public bool WriteBinary(string Key, string ValueName, byte[] Buffer, int BufferLen);

[VB.NET]
    Public Function WriteBinary(ByVal Key As String, ByVal ValueName As String, ByVal Buffer As Byte(), ByVal BufferLen As Integer) As Boolean

[Java]
    public boolean WriteBinary(String Key, String ValueName, byte[] Buffer, int BufferLen);

[Java ME]
    public boolean WriteBinary(String Key, String ValueName, byte[] Buffer, int BufferLen);

[DLL]
    not applicable;

Parameters

  • Key - key name. For more information look here.
  • ValueName - value name. For more information look here.
  • Buffer - name of the buffer from which data is written.
  • BufferLen - specifies the length of the buffer.

Return value

    True on success.
    False on failure.

Description

    Use this method to write binary data. Buffer is not checked for validity, so the program should pass a valid buffer for this method.

See also:     ReadBinary     WriteBinary     WriteBool     WriteDouble     WriteInteger     WriteString     WriteMultiString     WriteWideString    

Discuss this help topic in MsgConnect Forum