Discuss this help topic in SecureBlackbox Forum

TElDropboxDataStorage.CopyObjectFromRef

TElDropboxDataStorage     See also     


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


Copies the object by its copy_ref.

Declaration

[VB.NET]
    Function CopyObjectFromRef(ByVal CopyRef As String, ByVal DestPath As String, ByVal NewHandler As TElCustomDataStorageSecurityHandler) As TElCustomDataStorageObject
    Function CopyObjectFromRef(ByVal CopyRef As String, ByVal DestPath As String, ByVal NewHandler As TElCustomDataStorageSecurityHandler, ByVal AcquireObject As Boolean) As TElCustomDataStorageObject

[Pascal]
    function CopyObjectFromRef(const CopyRef : string; const DestPath : string; NewHandler : TElCustomDataStorageSecurityHandler) : TElCustomDataStorageObject;
    function CopyObjectFromRef(const CopyRef : string; const DestPath : string; NewHandler : TElCustomDataStorageSecurityHandler; AcquireObject : boolean) : TElCustomDataStorageObject;

[C++]
    TElCustomDataStorageObjectHandle CopyObjectFromRef(const std::string &CopyRef, const std::string &DestPath, TElCustomDataStorageSecurityHandler &NewHandler);
    TElCustomDataStorageObjectHandle CopyObjectFromRef(const std::string &CopyRef, const std::string &DestPath, TElCustomDataStorageSecurityHandler *NewHandler);
    TElCustomDataStorageObjectHandle CopyObjectFromRef(const std::string &CopyRef, const std::string &DestPath, TElCustomDataStorageSecurityHandler &NewHandler, bool AcquireObject);
    TElCustomDataStorageObjectHandle CopyObjectFromRef(const std::string &CopyRef, const std::string &DestPath, TElCustomDataStorageSecurityHandler *NewHandler, bool AcquireObject);

Parameters

  • AcquireObject - set this property to False to free the new copy; returns nil/null/Nothing in this case.
  • CopyRef - the object's copy_ref string.
  • DestPath - specifies where the object should be copied.
  • NewHandler - security handler used to perform the operation.

Return value

    Returns an instance of TElCustomDataStorageObject that contains a copy of the object.

Description

    Use this method to copy the file by its copy_ref, a reference that can be used to copy the file from another user's Dropbox.

See also:     CreateCopyReference     CopyObject    

Discuss this help topic in SecureBlackbox Forum