Discuss this help topic in SecureBlackbox Forum

TElGoogleDataStorage.WriteObject

TElGoogleDataStorage     See also     


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


Writes (overwrites) data object to the storage.

Declaration

[C#/Java]
    void WriteObject(string Title, System.IO.Stream Data, TSBGoogleDocType DocType, string ContentType, boolean Convert, TSBGoogleDataStorageEncoding Encoding, TElCustomDataStorageSecurityHandler Hanlder);
    void WriteObject(string Title, System.IO.Stream Data, TSBGoogleDocType DocType, string ContentType, TElCustomDataStorageSecurityHandler Hanlder);
    void WriteObject(TElGoogleDataStorageObject Obj, System.IO.Stream Data, boolean OverwriteChanges, boolean Append, string ContentType, TSBGoogleDataStorageEncoding Encoding, TElCustomDataStorageSecurityHandler Hanlder);

[VB.NET]
    Sub WriteObject(ByVal Title As String, ByVal Data As System.IO.Stream, ByVal DocType As TSBGoogleDocType, ByVal ContentType As String, ByVal Convert As Boolean, ByVal Encoding As TSBGoogleDataStorageEncoding, ByVal Hanlder As TElCustomDataStorageSecurityHandler)
    Sub WriteObject(ByVal Title As String, ByVal Data As System.IO.Stream, ByVal DocType As TSBGoogleDocType, ByVal ContentType As String, ByVal Hanlder As TElCustomDataStorageSecurityHandler)
    Sub WriteObject(ByVal Obj As TElGoogleDataStorageObject, ByVal Data As System.IO.Stream, ByVal OverwriteChanges As Boolean, ByVal Append As Boolean, ByVal ContentType As String, ByVal Encoding As TSBGoogleDataStorageEncoding, ByVal Hanlder As TElCustomDataStorageSecurityHandler)

[Pascal]
    procedure WriteObject(const Title : string; Data : TStream; DocType : TSBGoogleDocType; const ContentType : string; Convert : boolean; Encoding : TSBGoogleDataStorageEncoding; Hanlder : TElCustomDataStorageSecurityHandler);
    procedure WriteObject(const Title : string; Data : TStream; DocType : TSBGoogleDocType; ContentType : string; Hanlder : TElCustomDataStorageSecurityHandler);
    procedure WriteObject(Obj : TElGoogleDataStorageObject; Data : TStream; OverwriteChanges : boolean; Append : boolean; const ContentType : string; Encoding : TSBGoogleDataStorageEncoding; Hanlder : TElCustomDataStorageSecurityHandler);

[C++]
    not available

[PHP]
    not available

Parameters

  • Title - object's title
  • Data - stream with data which should be written to the storage
  • DocType - specifies the document type
  • ContentType - specifies object's content type
  • Convert - specifies whether to convert uploaded data to google format
  • Encoding - specifies data encoding
  • Handler - security handler used to perform the operation
  • OverwriteChanges - specifies whether the changes made in the remote storage should be overwritten
  • Append - set this parameter to True to append data to the existing object
  • Obj - the object to be uploaded
  • Strm - ...

Encoding values:


Document type values:


Description

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

See also:     CopyObject     DeleteObject     MoveObject     ObjectExists     ReadObject    

Discuss this help topic in SecureBlackbox Forum