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
Parameters
  • 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
Comment
In card we may have some properties repeat more than once. This function is useful in knowing such number of properties.
  • Follow