Discuss this help topic in SecureBlackbox Forum

TElFileDataStorage.WriteObject

TElFileDataStorage     See also     


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


Writes (overwrites) data object to the storage.

Declaration

[C#/Java]
    void WriteObject(string ObjName, string Data, TElCustomDataStorageSecurityHandler Handler);
    void WriteObject(string ObjName, System.IO.Stream Strm, TElCustomDataStorageSecurityHandler Handler);

[VB.NET]
    Sub WriteObject(ByVal ObjName As String, ByVal Data As String, ByVal Handler As TElCustomDataStorageSecurityHandler)
    Sub WriteObject(ByVal ObjName As String, ByVal Strm As System.IO.Stream, ByVal Handler As TElCustomDataStorageSecurityHandler)

[Pascal]
    procedure WriteObject(const ObjName : string; Data : string; Handler : TElCustomDataStorageSecurityHandler);
    procedure WriteObject(const ObjName : string; Strm : TStream; Handler : TElCustomDataStorageSecurityHandler);

[C++]
    void WriteObject(const std::string &ObjName, const std::string &Data, TElCustomDataStorageSecurityHandler &Handler);
    void WriteObject(const std::string &ObjName, const std::string &Data, TElCustomDataStorageSecurityHandler *Handler);
    void WriteObject(const std::string &ObjName, TStream &Strm, TElCustomDataStorageSecurityHandler &Handler);
    void WriteObject(const std::string &ObjName, TStream *Strm, TElCustomDataStorageSecurityHandler *Handler);
    void WriteObject(const std::string &ObjName, TStream &Strm, const std::vector<uint8_t> &ETag, TElCustomDataStorageSecurityHandler &Handler);
    void WriteObject(const std::string &ObjName, TStream *Strm, const std::vector<uint8_t> &ETag, TElCustomDataStorageSecurityHandler *Handler);
    void WriteObject(const std::string &ObjName, TStream &Strm, const std::vector<uint8_t> &ETag, TElCustomDataStorageSecurityHandler &Handler, std::vector<uint8_t> &NewETag);
    void WriteObject(const std::string &ObjName, TStream *Strm, const std::vector<uint8_t> &ETag, TElCustomDataStorageSecurityHandler *Handler, std::vector<uint8_t> &NewETag);
    void WriteObject(TElFileDataStorageObject &Obj, TStream &Strm, TElCustomDataStorageSecurityHandler &Handler);
    void WriteObject(TElFileDataStorageObject *Obj, TStream *Strm, TElCustomDataStorageSecurityHandler *Handler);
    void WriteObject(TElFileDataStorageObject &Obj, TStream &Strm, const std::vector<uint8_t> &ETag, TElCustomDataStorageSecurityHandler &Handler);
    void WriteObject(TElFileDataStorageObject *Obj, TStream *Strm, const std::vector<uint8_t> &ETag, TElCustomDataStorageSecurityHandler *Handler);

[PHP]
    void WriteObject(string $ObjName, string $Data, TElCustomDataStorageSecurityHandler $Handler)
    void WriteObject(string $ObjName, TStream $Strm, TElCustomDataStorageSecurityHandler $Handler)
    void WriteObject(string $ObjName, TStream $Strm, array of byte|string|NULL $ETag, TElCustomDataStorageSecurityHandler $Handler)
    void WriteObject(string $ObjName, TStream $Strm, array of byte|string|NULL $ETag, TElCustomDataStorageSecurityHandler $Handler, array of byte|string &$NewETag)
    void WriteObject(TElFileDataStorageObject $Obj, TStream $Strm, TElCustomDataStorageSecurityHandler $Handler)
    void WriteObject(TElFileDataStorageObject $Obj, TStream $Strm, array of byte|string|NULL $ETag, TElCustomDataStorageSecurityHandler $Handler)
    void WriteObject(TElCustomDataStorageObject $Obj, TStream $Strm, TElCustomDataStorageSecurityHandler $Handler)

Parameters

  • ObjName - name of the object
  • Data - name of the file containing object data
  • Strm - stream containing object data
  • Handler - security handler used to perform the operation
  • ETag - ...
  • NewETag - ...
  • Obj - ...

Description

    Use this method to write or overwrite data to the storage.

See also:     CopyObject     ObjectExists     ReadObject     WriteBlock    

Discuss this help topic in SecureBlackbox Forum