Discuss this help topic in SecureBlackbox Forum

TElOneDriveFolder.CreateObject

TElOneDriveFolder     See also     


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


Creates new object in the folder.

Declaration

[C#]
    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)

[Java]
    TElOneDriveFile createObject(String Name, boolean OverwriteIfExists, TElCustomDataStorageSecurityHandler Handler);
    TElOneDriveFile createObject(String Name, boolean OverwriteIfExists);

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