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

C#
 
if (oContact.IsFieldPublic (eContactFld.ctcfSysNum))
    // This field can be updated.

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

VB.NET
 
If oContact.IsFieldPublic(eContactFld.ctcfSysNum) Then
    ' This field can be updated.
End If