FormVarContentType Property

This property specifies the Content-Type header for a Form Variable.

Syntax

ANSI (Cross Platform)
char* GetFormVarContentType(int iVarIndex);
int SetFormVarContentType(int iVarIndex, const char* lpszFormVarContentType); Unicode (Windows) LPWSTR GetFormVarContentType(INT iVarIndex);
INT SetFormVarContentType(INT iVarIndex, LPCWSTR lpszFormVarContentType);
- (NSString*)formVarContentType:(int)varIndex;
- (void)setFormVarContentType:(int)varIndex:(NSString*)newFormVarContentType;
#define PID_WEBFORM_FORMVARCONTENTTYPE 22

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_WebForm_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_WebForm_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_WebForm_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

This property specifies the Content-Type header for a Form Variable.

When a form variable is added to the class, the Content-Type header for the form variable can be controlled by this property. To omit the Content-Type header completely for a form variable set this to empty string.

The default value is "text/plain".

The VarIndex parameter specifies the index of the item in the array. The size of the array is controlled by the FormVarCount 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]