Venice
ComCd::GetFieldDesc
 
Gets the field description.
 
BSTR GetFieldDesc (
    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 description of the requested field.
 
Remarks
The language in which the description is returned was set during the logon or when automatic logon is used, in the Development Kit configuration of your Venice installation (Main Menu - Venice-button - Settings - Configuration - Development Kit).
 
See Also
CreateComCd
GetFieldID
 
Samples
 
C++
 
// Retrieve the description of the 'Supplementary unit descr.'-field.
CString strSupplUnitDsc = (LPCSTR)pComCd->GetFieldDesc (ccdfSupplUnitDsc);

C#
 
// Retrieve the description of the 'Supplementary unit descr.'-field.
string strSupplUnitDsc = oComCd.GetFieldDesc (eComCdFld.ccdfSupplUnitDsc);

VBS
 
' Retrieve the description of the 'Supplementary unit descr.'-field.
Dim strSupplUnitDsc
strSupplUnitDsc = oComCd.GetFieldDesc(oComCd.GetFieldID("SupplUnitDsc"))

VB.NET
 
' Retrieve the description of the 'Supplementary unit descr.'-field.
Dim strSupplUnitDsc As String
strSupplUnitDsc = oComCd.GetFieldDesc(eComCdFld.ccdfSupplUnitDsc)