IPWorks OpenPGP 2020 C++ Edition

Questions / Feedback?

PartDecodedString Property

This property holds the actual content of each part.

Syntax

ANSI (Cross Platform)
int GetPartDecodedString(int iPartIdx, char* &lpPartDecodedString, int &lenPartDecodedString);
int SetPartDecodedString(int iPartIdx, const char* lpPartDecodedString, int lenPartDecodedString); Unicode (Windows) INT GetPartDecodedString(INT iPartIdx, LPSTR &lpPartDecodedString, INT &lenPartDecodedString);
INT SetPartDecodedString(INT iPartIdx, LPCSTR lpPartDecodedString, INT lenPartDecodedString);
- (NSString*)partDecodedString:(int)partIdx;
- (void)setPartDecodedString:(int)partIdx:(NSString*)newPartDecodedString;

- (NSData*)partDecodedStringB:(int)partIdx; - (void)setPartDecodedStringB:(int)partIdx:(NSData*)newPartDecodedString;
#define PID_MIME_PARTDECODEDSTRING 16

IPWORKSOPENPGP_EXTERNAL void* IPWORKSOPENPGP_CALL IPWorksOpenPGP_MIME_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSOPENPGP_EXTERNAL int IPWORKSOPENPGP_CALL IPWorksOpenPGP_MIME_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSOPENPGP_EXTERNAL int IPWORKSOPENPGP_CALL IPWorksOpenPGP_MIME_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

This property holds the actual content of each part. The class decodes the actual part of Message to PartDecodedString when PartDecodedString's value is first queried.

Setting a value to PartDecodedString fills out the corresponding PartSize with the string size if the corresponding PartDecodedFile is empty.

The class checks during encoding first PartDecodedFile: if it is empty then the class uses the value of PartDecodedString.

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

Binary String

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