Venice
Cntry::GetFieldName
 
Gets the field name.
 
BSTR GetFieldName (
    enum eCntryFld eFieldID
)
 
Parameters
eFieldID
[in] Identifier of the field, e.g. cntfSysNum (C++) or eCntryFld.cntfSysNum (C# / VB.NET).
 
Remark: In VBS, this field identifier enumerations cannot be used! You should use GetFieldID to get a valid field identifier.
 
Return value
A BSTR containing the technical name of the requested field.
 
See Also
CreateCntry
GetFieldID
 
Samples
 
C++
 
// Retrieve the technical name of the 'system number'-field.
CString strFieldName = (LPCSTR)pCntry->GetFieldName (cntfSysNum);

C#
 
// Retrieve the technical name of the 'system number'-field.
string strFieldName = oCntry.GetFieldName (eCntryFld.cntfSysNum);

VBS
 
' Retrieve the technical name of the 'system number'-field.
Dim strFieldName
strFieldName = oCntry.GetFieldName(oCntry.GetFieldID("SysNum"))

VB.NET
 
' Retrieve the technical name of the 'system number'-field.
Dim strFieldName As String
strFieldName = oCntry.GetFieldName(eCntryFld.cntfSysNum)