RequestOptionCount Property
The number of records in the RequestOption arrays.
Syntax
ANSI (Cross Platform) int GetRequestOptionCount();
int SetRequestOptionCount(int iRequestOptionCount); Unicode (Windows) INT GetRequestOptionCount();
INT SetRequestOptionCount(INT iRequestOptionCount);
@property (nonatomic,readwrite,assign,getter=requestOptionCount,setter=setRequestOptionCount:) int requestOptionCount; - (int)requestOptionCount; - (void)setRequestOptionCount:(int)newRequestOptionCount;
#define PID_COAP_REQUESTOPTIONCOUNT 14 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:
- RequestOptionCritical
- RequestOptionNoCacheKey
- RequestOptionNumber
- RequestOptionUnsafe
- RequestOptionValue
- RequestOptionValueType
This property is not available at design time.
Data Type
Integer