PartContentDisposition Property

Content disposition for each part.

Syntax

ANSI (Cross Platform)
char* GetPartContentDisposition(int iPartIdx);
int SetPartContentDisposition(int iPartIdx, const char* lpszPartContentDisposition); Unicode (Windows) LPWSTR GetPartContentDisposition(INT iPartIdx);
INT SetPartContentDisposition(INT iPartIdx, LPCWSTR lpszPartContentDisposition);
- (NSString*)partContentDisposition:(int)partIdx;
- (void)setPartContentDisposition:(int)partIdx:(NSString*)newPartContentDisposition;
#define PID_MIME_PARTCONTENTDISPOSITION 10

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_MIME_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_MIME_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_MIME_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

Content disposition for each part.

The value in this property is used in the Content-Disposition header. Typical values include "form-data", "attachment" etc. The class fills it out each time the PartDecodedFile is changed. Changing the PartContentDisposition recalculates the PartHeaders as well.

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