|
Is the field virtual? |
|
|
VARIANT_BOOL IsFieldVirtual ( enum eStockInfoFld eFieldID ) |
|
|
Parameters | eFieldID | [in] Identifier of the field, e.g. stofQuantity (C++) or eStockInfoFld.stofQuantity (C# / VB.NET).
| |
| Remark: In VBS, this field identifier enumerations cannot be used! You should use GetFieldID to get a valid field identifier. |
| | 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++ |
|
if (pStockInfo->IsFieldVirtual (stofQuantity))
// This field can not be updated.
|
|
|
C# |
|
if (oStockInfo.IsFieldVirtual (eStockInfoFld.stofQuantity))
// This field can not be updated.
|
|
|
VBS |
|
If oStockInfo.IsFieldVirtual(oStockInfo.GetFieldID("Quantity")) Then
' This field can not be updated.
End If
|
|
|
VB.NET |
|
If oStockInfo.IsFieldVirtual(eStockInfoFld.stofQuantity) Then
' This field can not be updated.
End If
|
|