Discuss this help topic in SecureBlackbox Forum

TElOneDriveDataStorage.CreateObject

TElOneDriveDataStorage     See also     


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


Creates new object in the storage.

Declaration

[VB.NET]
    Function CreateObject(ByVal Parent As TElOneDriveFolder, ByVal Name As String, ByVal OverwriteIfExists As Boolean) As TElOneDriveFile
    Function CreateObject(ByVal Parent As TElOneDriveFolder, ByVal Name As String, ByVal OverwriteIfExists As Boolean, ByVal Handler As TElCustomDataStorageSecurityHandler) As TElOneDriveFile

[Pascal]
    function CreateObject(Parent: TElOneDriveFolder; const Name: string; OverwriteIfExists: boolean): TElOneDriveFile;
    function CreateObject(Parent: TElOneDriveFolder; const Name: string; OverwriteIfExists: boolean; Handler: TElCustomDataStorageSecurityHandler): TElOneDriveFile;

[C++]
    TElOneDriveFileHandle CreateObject(TElOneDriveFolder &Parent, const std::string &Name, bool OverwriteIfExists);
    TElOneDriveFileHandle CreateObject(TElOneDriveFolder *Parent, const std::string &Name, bool OverwriteIfExists);
    TElOneDriveFileHandle CreateObject(TElOneDriveFolder &Parent, const std::string &Name, bool OverwriteIfExists, TElCustomDataStorageSecurityHandler &Handler);
    TElOneDriveFileHandle CreateObject(TElOneDriveFolder *Parent, const std::string &Name, bool OverwriteIfExists, TElCustomDataStorageSecurityHandler *Handler);

Parameters

  • Parent - the folder in which the new object should be created.
  • Name - new object's name.
  • OverwriteIfExists - specifies whether the new object should overwrite the existing one.
  • Handler - the security handler which performs the operation.

Return value

    Returns a reference to the newly created object.

Description

    Use this method to create new file in the storage.

See also:     CreateFolder    

Discuss this help topic in SecureBlackbox Forum