API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IVCARD_GETNUMBEROFPROPERTIES()

Brew Release
Brew MP 1.0.2
See Also
IvCard_GetPropertyAtIndex
Description
Returns the number of recurring properties for a particular property id
Passing 0 for nPropId will return the total number of properties
Params
pIvCard
[]:
Pointer to the IvCard interface object
nPropId
[]:
Property Id, for which we want to check the number of occurrences
pnNumProps
[]:
Upon successful return contains the number of properties for that particular property id
Interface
Prototype
  •    int IvCard_GetNumberOfProperties(IvCard        *pIvCard,
                                        AEEVProperty  nPropId,
                                        int           *pnNumProps);
    
Return
  • AEE_SUCCESS : If we are able to successfully return the count AEE_EBADPARM : If either nPropId is invalid or pnNumProps is NULL
Side Effect
  • None
Comments
In card we may have some properties repeat more than once. This function is useful in knowing such number of properties.