FileVarContentType Property

This property contains the value of the Content-Type of each form variable which corresponds to the file in the File property.

Syntax

ANSI (Cross Platform)
char* GetFileVarContentType(int iFileIndex);
int SetFileVarContentType(int iFileIndex, const char* lpszFileVarContentType); Unicode (Windows) LPWSTR GetFileVarContentType(INT iFileIndex);
INT SetFileVarContentType(INT iFileIndex, LPCWSTR lpszFileVarContentType);
- (NSString*)fileVarContentType:(int)fileIndex;
- (void)setFileVarContentType:(int)fileIndex:(NSString*)newFileVarContentType;
#define PID_WEBUPLOAD_FILEVARCONTENTTYPE 14

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_WebUpload_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_WebUpload_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_WebUpload_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

This property contains the value of the Content-Type of each form variable which corresponds to the file in the FileVarFile property.

The FileIndex parameter specifies the index of the item in the array. The size of the array is controlled by the FileCount property.

This property is not available at design time.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]