Venice
AnUnt::IsFieldVirtual
 
Is the field virtual?
 
VARIANT_BOOL IsFieldVirtual (
    enum eAnUntFld eFieldID
)
 
Parameters
eFieldID
[in] Identifier of the field, e.g. anufSysNum (C++) or eAnUntFld.anufSysNum (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
CreateAnUnt
 
Samples
 
C++
 
if (pAnUnt->IsFieldVirtual (anufSysNum))
    // This field can not be updated.

C#
 
if (oAnUnt.IsFieldVirtual (eAnUntFld.anufSysNum))
    // This field can not be updated.

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

VB.NET
 
If oAnUnt.IsFieldVirtual(eAnUntFld.anufSysNum) Then
    ' This field can not be updated.
End If