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

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

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

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