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

C#
 
// Retrieve the technical name of the 'system number'-field.
string strFieldName = oSOffer.GetFieldName (eSOfferFld.soffSysNum);

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

VB.NET
 
' Retrieve the technical name of the 'system number'-field.
Dim strFieldName As String
strFieldName = oSOffer.GetFieldName(eSOfferFld.soffSysNum)