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

C#
 
if (oAnAcc.IsFieldPublic (eAnAccFld.anafSysNum))
    // This field can be updated.

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

VB.NET
 
If oAnAcc.IsFieldPublic(eAnAccFld.anafSysNum) Then
    ' This field can be updated.
End If