Book::GetFieldName (Interface: Book)
 
Gets the field name.
 
BSTR GetFieldName (
    enum eBookFld eFieldID
)
 
Parameters
eFieldID
[in] Identifier of the field, e.g. boofSysNum (C++) or eBookFld.boofSysNum (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
CreateBook
GetFieldID
 
Samples
 
C++
 
// Retrieve the technical name of the 'system number'-field.
CString strFieldName = (LPCSTR)pBook->GetFieldName (boofSysNum);

C#
 
// Retrieve the technical name of the 'system number'-field.
string strFieldName = oBook.GetFieldName (eBookFld.boofSysNum);

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

VB.NET
 
' Retrieve the technical name of the 'system number'-field.
Dim strFieldName As String
strFieldName = oBook.GetFieldName(eBookFld.boofSysNum)