Venice
ComAp::IsFieldPublic
 
Is the field public?
 
VARIANT_BOOL IsFieldPublic (
    enum eComApFld eFieldID
)
 
Parameters
eFieldID
[in] Identifier of the field, e.g. capfSysNum (C++) or eComApFld.capfSysNum (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
CreateComAp
 
Samples
 
C++
 
if (pComAp->IsFieldPublic (capfSysNum))
    // This field can be updated.

C#
 
if (oComAp.IsFieldPublic (eComApFld.capfSysNum))
    // This field can be updated.

VBS
 
If oComAp.IsFieldPublic(oComAp.GetFieldID("SysNum")) Then
    ' This field can be updated.
End If

VB.NET
 
If oComAp.IsFieldPublic(eComApFld.capfSysNum) Then
    ' This field can be updated.
End If