| |
| Gets the field identifier. |
| |
 |
enum eStockInfoFld GetFieldID ( BSTR bsFieldName ) |
|
| |
| Parameters | | bsFieldName | | [in] A string containing the name of the field of which you want to know the identifier. | | | | Return value |
| Identifier of the field, e.g. stofQuantity (C++) or eStockInfoFld.stofQuantity (C# / VB.NET). | | | | Remarks |
 | You have to call GetFirstChange (to fill the stock changes file) before you can use this method, otherwise an exception will be thrown. |
|
| |
| See Also |
|
|
|
| |
| Samples |
| |
 |
C++ |
| |
// Retrieve the identifier of the 'Quantity'-field.
eStockInfoFld eFieldId = pStockInfo->GetFieldID ("Quantity");
|
|
 |
C# |
| |
// Retrieve the identifier of the 'Quantity'-field.
eStockInfoFld eFieldId = oStockInfo.GetFieldID ("Quantity");
|
|
 |
VBS |
| |
' Retrieve the identifier of the 'Quantity'-field.
Dim eFieldId
eFieldId = oStockInfo.GetFieldID("Quantity")
|
|
 |
VB.NET |
| |
' Retrieve the identifier of the 'Quantity'-field.
Dim eFieldId As eStockInfoFld
eFieldId = oStockInfo.GetFieldID("Quantity")
|
|