Discuss this help topic in SecureBlackbox Forum

TElGoogleDriveFolder.CreateObject

TElGoogleDriveFolder     See also     


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


Creates new object in the folder.

Declaration

[C#/Java]
    TElGoogleDriveDataStorageObject CreateObject(string Name, string Description, string MimeType, bool Hidden, bool Restricted, bool Starred, TElCustomDataStorageSecurityHandler Handler);

[VB.NET]
    Function CreateObject(ByVal Name As String, ByVal Description As String, ByVal MimeType As String, ByVal Hidden As Boolean, ByVal Restricted As Boolean, ByVal Starred As Boolean, ByVal Handler As TElCustomDataStorageSecurityHandler) As TElGoogleDriveDataStorageObject

[Pascal]
    function CreateObject(const Name, Description, MimeType: string; Hidden, Restricted, Starred: boolean; Handler: TElCustomDataStorageSecurityHandler): TElGoogleDriveDataStorageObject;

[C++]
    TElGoogleDriveDataStorageObjectHandle CreateObject(const std::string &Name, const std::string &Description, const std::string &MimeType, bool Hidden, bool Restricted, bool Starred, TElCustomDataStorageSecurityHandler &Handler);
    TElGoogleDriveDataStorageObjectHandle CreateObject(const std::string &Name, const std::string &Description, const std::string &MimeType, bool Hidden, bool Restricted, bool Starred, TElCustomDataStorageSecurityHandler *Handler);

[PHP]
    TElGoogleDriveDataStorageObject CreateObject(string $Name, string $Description, string $MimeType, bool $Hidden, bool $Restricted, bool $Starred, TElCustomDataStorageSecurityHandler $Handler)

Parameters

  • Name - new object's name.
  • Description - new object's description.
  • MimeType - the MIME type of the new data object.
  • Hidden - specifies if the new object is hidden.
  • Restricted - specifies whether viewers are prevented from downloading the object.
  • Starred - specifies if the new object is starred.
  • Handler - the security handler which performs the operation.

Return value

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

Description

    Use this method to create new file or document in this folder.

See also:     CreateFolder    

Discuss this help topic in SecureBlackbox Forum