XElementType Property
Indicates the data type of the current element.
Syntax
ANSI (Cross Platform) int GetXElementType(); Unicode (Windows) INT GetXElementType();
Possible Values
ET_OBJECT(0),
ET_ARRAY(1),
ET_STRING(2),
ET_NUMBER(3),
ET_BOOL(4),
ET_NULL(5)
@property (nonatomic,readonly,assign,getter=XElementType) int XElementType; - (int)XElementType;
Possible Values
ET_OBJECT(0),
ET_ARRAY(1),
ET_STRING(2),
ET_NUMBER(3),
ET_BOOL(4),
ET_NULL(5)
#define PID_JSON_XELEMENTTYPE 12 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_JSON_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
Default Value
0
Remarks
This property specifies the data type of the current element. After setting XPath this property is populated. Possible values are:
- 0 (Object)
- 1 (Array)
- 2 (String)
- 3 (Number)
- 4 (Bool)
- 5 (Null)
- 6 (Raw)
Note: This property is not applicable when parsing a document and BuildDOM is False.
This property is read-only.
Data Type
Integer