Discuss this help topic in SecureBlackbox Forum

TElGoogleDriveDataStorage.CreateObject

TElGoogleDriveDataStorage     See also     


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


Creates new object in the storage.

Declaration

[VB.NET]
    Function CreateObject(ByVal AParent As TElGoogleDriveFolder, ByVal AName As String, ByVal ADescription As String, ByVal AMimeType As String, ByVal AHidden As Boolean, ByVal ARestricted As Boolean, ByVal AStarred As Boolean, ByVal Handler As TElCustomDataStorageSecurityHandler) As TElGoogleDriveDataStorageObject

[C++]
    TElGoogleDriveDataStorageObjectHandle CreateObject(TElGoogleDriveFolder &AParent, const std::string &AName, const std::string &ADescription, const std::string &AMimeType, bool AHidden, bool ARestricted, bool AStarred, TElCustomDataStorageSecurityHandler &Handler);
    TElGoogleDriveDataStorageObjectHandle CreateObject(TElGoogleDriveFolder *AParent, const std::string &AName, const std::string &ADescription, const std::string &AMimeType, bool AHidden, bool ARestricted, bool AStarred, TElCustomDataStorageSecurityHandler *Handler);

Parameters

  • AParent - the folder in which the new object should be created.
  • AName - new object's name.
  • ADescription - new object's description.
  • AMimeType - the MIME type of the new file (folder).
  • AHidden - specifies if the new object is hidden.
  • ARestricted - specifies whether viewers are prevented from downloading the object.
  • AStarred - specifies if the new object is starred.
  • 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 or folder in the storage.

See also:     CopyObject     CreateFolder    

Discuss this help topic in SecureBlackbox Forum