PartName Property

This property contains the name given to a part, such as the filename.

Syntax

ANSI (Cross Platform)
char* GetPartName(int iPartIdx);
int SetPartName(int iPartIdx, const char* lpszPartName); Unicode (Windows) LPWSTR GetPartName(INT iPartIdx);
INT SetPartName(INT iPartIdx, LPCWSTR lpszPartName);
- (NSString*)partName:(int)partIdx;
- (void)setPartName:(int)partIdx:(NSString*)newPartName;
#define PID_MIME_PARTNAME 20

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

This property contains the name given to a part, such as the filename. Changing the value of PartDecodedFile sets automatically the corresponding PartName and consequently the PartHeaders.

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]