PosType Property
Type for general position aggregate.
Syntax
ANSI (Cross Platform) int GetPosType(int iPosIndex); Unicode (Windows) INT GetPosType(INT iPosIndex);
Possible Values
PT_POSDEBT(0),
PT_POSMF(1),
PT_POSOPT(2),
PT_POSOTHER(3),
PT_POSSTOCK(4),
PT_OTHER(255)
- (int)posType:(int)posIndex;
Possible Values
PT_POSDEBT(0),
PT_POSMF(1),
PT_POSOPT(2),
PT_POSOTHER(3),
PT_POSSTOCK(4),
PT_OTHER(255)
#define PID_INVSTATEMENT_POSTYPE 67 IPWORKSOFX_EXTERNAL void* IPWORKSOFX_CALL IPWorksOFX_InvStatement_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSOFX_EXTERNAL int IPWORKSOFX_CALL IPWorksOFX_InvStatement_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
0
Remarks
Type for general position aggregate. The positions types and their meanings are as follows:
ptPOSDEBT (0) | Debt |
ptPOSMF (1) | Mutual Fund |
ptPOSOPT (2) | Option |
ptPOSOTHER (3) | Other Position |
ptPOSSTOCK (4) | Stock |
ptOTHER (255) | Other |
The PosIndex parameter specifies the index of the item in the array. The size of the array is controlled by the PosCount property.
This property is read-only and not available at design time.
Data Type
Integer