|
Gets the field name. |
|
|
BSTR GetFieldName ( enum ePOfferDetFld eFieldID ) |
|
|
Parameters | eFieldID | [in] Identifier of the field, e.g. podfSysNum (C++) or ePOfferDetFld.podfSysNum (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 |
|
|
|
Samples |
|
|
C++ |
|
// Retrieve the technical name of the 'system number'-field.
CString strFieldName = (LPCSTR)pPOfferDet->GetFieldName (podfSysNum);
|
|
|
C# |
|
// Retrieve the technical name of the 'system number'-field.
string strFieldName = oPOfferDet.GetFieldName (ePOfferDetFld.podfSysNum);
|
|
|
VBS |
|
' Retrieve the technical name of the 'system number'-field.
Dim strFieldName
strFieldName = oPOfferDet.GetFieldName(oPOfferDet.GetFieldID("SysNum"))
|
|
|
VB.NET |
|
' Retrieve the technical name of the 'system number'-field.
Dim strFieldName As String
strFieldName = oPOfferDet.GetFieldName(ePOfferDetFld.podfSysNum)
|
|