ResourceMIMEType Property
The MIME type of the resource.
Syntax
googledrivecontrol.ResourceMIMEType(ResourceIndex)[=string]
Default Value
""
Remarks
The MIME type of the resource.
This property specifies the MIME type of the resource.
When calling UploadFile, this property is ignored in favor of the MimeType parameter of UploadFile.
When calling UpdateResource, this property is only submitted if new file data is being uploaded.
Some Google Drive MIME types:
application/vnd.google-apps.audio | |
application/vnd.google-apps.document | Google Docs |
application/vnd.google-apps.drawing | Google Drawing |
application/vnd.google-apps.file | Google Drive file |
application/vnd.google-apps.folder | Google Drive folder |
application/vnd.google-apps.form | Google Forms |
application/vnd.google-apps.fusiontable | Google Fusion Tables |
application/vnd.google-apps.kix | Google Docs |
application/vnd.google-apps.photo | |
application/vnd.google-apps.presentation | Google Slides |
application/vnd.google-apps.script | Google Apps Scripts |
application/vnd.google-apps.sites | Google Sites |
application/vnd.google-apps.spreadsheet | Google Sheets |
application/vnd.google-apps.unknown | |
application/vnd.google-apps.video |
The ResourceIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ResourceCount property.
This property is not available at design time.
Data Type
String