ChildMIMEType Property
The MIME type of the resource.
Syntax
ANSI (Cross Platform) char* GetChildMIMEType(int iChildIndex); Unicode (Windows) LPWSTR GetChildMIMEType(INT iChildIndex);
- (NSString*)childMIMEType:(int)childIndex;
#define PID_GOOGLEDRIVE_CHILDMIMETYPE 25 IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_GoogleDrive_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_GoogleDrive_CheckIndex(void *lpObj, int propid, int arridx);
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 ChildIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ChildCount property.
This property is read-only and not available at design time.
Data Type
String