Discuss this help topic in SecureBlackbox Forum

TElOneDriveFolder.CreateObject

TElOneDriveFolder     See also     


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


Creates new object in the folder.

Declaration

[C#/Java]
    TElOneDriveFile CreateObject(string Name, bool OverwriteIfExists);
    TElOneDriveFile CreateObject(string Name, bool OverwriteIfExists, TElCustomDataStorageSecurityHandler Handler);

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

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

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

[PHP]
    TElOneDriveFile CreateObject(string $Name, bool $OverwriteIfExists)
    TElOneDriveFile CreateObject(string $Name, bool $OverwriteIfExists, TElCustomDataStorageSecurityHandler $Handler)

Parameters

  • Name - new object's name.
  • OverwriteIfExists - specifies whether the existing file with the same name should be overwritten.
  • Handler - the security handler which performs the operation.

Return value

    Returns a reference to the instance of TElOneDriveFile that represents the newly created object.

Description

    Use this method to create new files in this folder.

See also:     CreateFolder    

Discuss this help topic in SecureBlackbox Forum