RecordData Property
This property contains the full record data as received from the DNS server.
Syntax
ANSI (Cross Platform) int GetRecordData(int iRecordIndex, char* &lpRecordData, int &lenRecordData); Unicode (Windows) INT GetRecordData(INT iRecordIndex, LPSTR &lpRecordData, INT &lenRecordData);
- (NSString*)recordData:(int)recordIndex;
- (NSData*)recordDataB:(int)recordIndex;
#define PID_DNS_RECORDDATA 13 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_DNS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_DNS_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
""
Remarks
This property contains the full record data as received from the DNS server.
After a successful query, the field values for each record will be provided in the Records properties.
To retrieve a particular field value for a record, first set RecordFieldIndex to a valid response field index, and then query records collection for the value of that field.
The RecordIndex parameter specifies the index of the item in the array. The size of the array is controlled by the RecordCount property.
This property is read-only and not available at design time.
Data Type
Binary String