|
Gets the field description. |
|
|
BSTR GetFieldDesc ( enum eCurStockFld eFieldID ) |
|
|
Parameters | eFieldID | [in] Identifier of the field, e.g. stcfStock (C++) or eCurStockFld.stcfStock (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 |
|
|
|
Samples |
|
|
C++ |
|
// Retrieve the description of the 'Stock units in stock'-field.
CString strStockDescr = (LPCSTR)pCurStock->GetFieldDesc (stcfStock);
|
|
|
C# |
|
// Retrieve the description of the 'Stock units in stock'-field.
string strStockDescr = oCurStock.GetFieldDesc (eCurStockFld.stcfStock);
|
|
|
VBS |
|
' Retrieve the description of the 'Stock units in stock'-field.
Dim strStockDescr
strStockDescr = oCurStock.GetFieldDesc(oCurStock.GetFieldID("Stock"))
|
|
|
VB.NET |
|
' Retrieve the description of the 'Stock units in stock'-field.
Dim strStockDescr As String
strStockDescr = oCurStock.GetFieldDesc(eCurStockFld.stcfStock)
|
|