|
Is the field public? |
|
|
VARIANT_BOOL IsFieldPublic ( 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. |
|
|
See Also |
|
|
|
Samples |
|
|
C++ |
|
if (pCurStock->IsFieldPublic (stcfStock))
// This field can be updated.
|
|
|
C# |
|
if (oCurStock.IsFieldPublic (eCurStockFld.stcfStock))
// This field can be updated.
|
|
|
VBS |
|
If oCurStock.IsFieldPublic(oCurStock.GetFieldID("Stock")) Then
' This field can be updated.
End If
|
|
|
VB.NET |
|
If oCurStock.IsFieldPublic(eCurStockFld.stcfStock) Then
' This field can be updated.
End If
|
|