IPWorks S/MIME 2020 C++ Edition

Questions / Feedback?

PartSize Property

This property contains the size of the DecodedFile or DecodedString .

Syntax

ANSI (Cross Platform)
int GetPartSize(int iPartIdx);

Unicode (Windows)
INT GetPartSize(INT iPartIdx);
- (int)partSize:(int)partIdx;
#define PID_MIME_PARTSIZE 22

IPWORKSSMIME_EXTERNAL void* IPWORKSSMIME_CALL IPWorksSMIME_MIME_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSSMIME_EXTERNAL int IPWORKSSMIME_CALL IPWorksSMIME_MIME_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

0

Remarks

This property contains the size of the PartDecodedFile or PartDecodedString. If a non empty value is assigned to PartDecodedFile, then class fills out the corresponding PartSize with the file size or an error occurs if the file doesn't exist.

If the PartDecodedFile is empty and a value is assigned to PartDecodedString, then the corresponding PartSize will be equal to the string's size.

During decoding, this property is filled with the size of that part.

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 read-only and not available at design time.

Data Type

Integer

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