ResponseOptionCount Property
The number of records in the ResponseOption arrays.
Syntax
ANSI (Cross Platform) int GetResponseOptionCount();
int SetResponseOptionCount(int iResponseOptionCount); Unicode (Windows) INT GetResponseOptionCount();
INT SetResponseOptionCount(INT iResponseOptionCount);
@property (nonatomic,readwrite,assign,getter=responseOptionCount,setter=setResponseOptionCount:) int responseOptionCount; - (int)responseOptionCount; - (void)setResponseOptionCount:(int)newResponseOptionCount;
#define PID_COAP_RESPONSEOPTIONCOUNT 25 IPWORKSIOT_EXTERNAL void* IPWORKSIOT_CALL IPWorksIoT_CoAP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSIOT_EXTERNAL int IPWORKSIOT_CALL IPWorksIoT_CoAP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
This property controls the size of the following arrays:
- ResponseOptionCritical
- ResponseOptionNoCacheKey
- ResponseOptionNumber
- ResponseOptionUnsafe
- ResponseOptionValue
- ResponseOptionValueType
This property is not available at design time.
Data Type
Integer