RequestOptionValue Property
The option's value.
Syntax
ANSI (Cross Platform) char* GetRequestOptionValue(int iRequestOptionIndex);
int SetRequestOptionValue(int iRequestOptionIndex, const char* lpszRequestOptionValue); Unicode (Windows) LPWSTR GetRequestOptionValue(INT iRequestOptionIndex);
INT SetRequestOptionValue(INT iRequestOptionIndex, LPCWSTR lpszRequestOptionValue);
- (NSString*)requestOptionValue:(int)requestOptionIndex; - (void)setRequestOptionValue:(int)requestOptionIndex:(NSString*)newRequestOptionValue;
#define PID_COAP_REQUESTOPTIONVALUE 19 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); IPWORKSIOT_EXTERNAL int IPWORKSIOT_CALL IPWorksIoT_CoAP_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
""
Remarks
The option's value.
This property specifies the option's value. The RequestOptionValueType property specifies the data type of the value.
The RequestOptionIndex parameter specifies the index of the item in the array. The size of the array is controlled by the RequestOptionCount property.
This property is not available at design time.
Data Type
String