| |
| Is the field public? |
| |
 |
VARIANT_BOOL IsFieldPublic ( 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->IsFieldPublic (stofQuantity))
// This field can be updated.
|
|
 |
C# |
| |
if (oStockInfo.IsFieldPublic (eStockInfoFld.stofQuantity))
// This field can be updated.
|
|
 |
VBS |
| |
If oStockInfo.IsFieldPublic(oStockInfo.GetFieldID("Quantity")) Then
' This field can be updated.
End If
|
|
 |
VB.NET |
| |
If oStockInfo.IsFieldPublic(eStockInfoFld.stofQuantity) Then
' This field can be updated.
End If
|
|