Discuss this help topic in SecureBlackbox Forum

TElBoxDataStorage.CopyObject

TElBoxDataStorage     See also     


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


Copies files or folders.

Declaration

[VB.NET]
    Function CopyObject(ByVal Obj As TElBoxDataStorageObject, ByVal Destination As TElBoxFolder) As TElBoxDataStorageObject
    Function CopyObject(ByVal Obj As TElBoxDataStorageObject, ByVal Destination As TElBoxFolder, ByVal NewName As String) As TElBoxDataStorageObject
    Function CopyObject(ByVal Obj As TElCustomDataStorageObject, ByVal NewHandler As TElCustomDataStorageSecurityHandler) As TElCustomDataStorageObject

[Pascal]
    function CopyObject(Obj: TElBoxDataStorageObject; Destination: TElBoxFolder): TElBoxDataStorageObject;
    function CopyObject(Obj: TElBoxDataStorageObject; Destination: TElBoxFolder; const NewName: string): TElBoxDataStorageObject;

Parameters

  • Obj - the object (file or folder) to be copied.
  • Destination - specifies the destination folder.
  • NewName - specifies the new name of the file.
  • NewHandler - the security handler for the object's copy.

Return value

    Returns a reference to the newly created copy of the object.

Description

    Use this method to copy objects within the storage.

See also:     AcquireFile     AcquireFolder    

Discuss this help topic in SecureBlackbox Forum