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

C#
 
if (oCntry.IsFieldPublic (eCntryFld.cntfSysNum))
    // This field can be updated.

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

VB.NET
 
If oCntry.IsFieldPublic(eCntryFld.cntfSysNum) Then
    ' This field can be updated.
End If