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

C#
 
if (oAnCnt.IsFieldPublic (eAnCntFld.ancfSysNum))
    // This field can be updated.

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

VB.NET
 
If oAnCnt.IsFieldPublic(eAnCntFld.ancfSysNum) Then
    ' This field can be updated.
End If