|
Gets the field name. |
|
|
BSTR GetFieldName ( enum eComCdFld eFieldID ) |
|
|
Parameters | eFieldID | [in] Identifier of the field, e.g. ccdfNullMass (C++) or eComCdFld.ccdfNullMass (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 'Supplementary unit descr.'-field.
CString strFieldName = (LPCSTR)pComCd->GetFieldName (ccdfSupplUnitDsc);
|
|
|
C# |
|
// Retrieve the technical name of the 'Supplementary unit descr.'-field.
string strFieldName = oComCd.GetFieldName (eComCdFld.ccdfSupplUnitDsc);
|
|
|
VBS |
|
' Retrieve the technical name of the 'Supplementary unit descr.'-field.
Dim strFieldName
strFieldName = oComCd.GetFieldName(oComCd.GetFieldID("SupplUnitDsc"))
|
|
|
VB.NET |
|
' Retrieve the technical name of the 'Supplementary unit descr.'-field.
Dim strFieldName As String
strFieldName = oComCd.GetFieldName(eComCdFld.ccdfSupplUnitDsc)
|
|