RecordFieldName Property

This property contains the name of the property selected by FieldIndex .

Syntax

ANSI (Cross Platform)
char* GetRecordFieldName(int iRecordIndex);

Unicode (Windows)
LPWSTR GetRecordFieldName(INT iRecordIndex);
- (NSString*)recordFieldName:(int)recordIndex;
#define PID_DNS_RECORDFIELDNAME 11

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

"0"

Remarks

This property contains the name of the field selected by RecordFieldIndex. Field names are different depending on the record type. For example, an MX record type will contain two properties: PREFERENCE and EXCHANGE, but an SOA record type contains seven properties.

Field names:

A Records ADDRESS
NS RecordsDNAME
MDMADNAME
MFMADNAME
CNAMECNAME
SOAMNAME
SOARNAME
SOASERIAL
SOAREFRESH
SOARETRY
SOAEXPIRE
SOAMINIMUM
MBMADNAME
MGMGMNAME
MRNEWNAME
NULLNULL
WKSADDRESS
WKSPROTOCOL
WKSSERVICEMAP
PTRPTRDNAME
HINFOCPU
HINFOOS
MINFORMAILBX
MINFOEMAILBX
MXPREFERENCE
MXEXCHANGE
TXTTXT
RPMBOXDNAME
RPTXTDNAME
AFSDBSUBTYPE
AFSDBHOSTNAME
X25PSDNADDRESS
ISDNISDNADDRESS
RTPREFERENCE
RTINTERMEDIATE
AAAAADDRESS
SRVPRIORITY
SRVWEIGHT
SRVPORT
SRVTARGET
NAPTRORDER
NAPTRPRIORITY
NAPTRFLAGS
NAPTRSERVICES
NAPTRREGEXP
NAPTRREPLACEMENT

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

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]