Venice
Contact::IsFieldVirtual
 
Is the field virtual?
 
VARIANT_BOOL IsFieldVirtual (
    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->IsFieldVirtual (ctcfSysNum))
    // This field can not be updated.

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

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

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