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

C#
 
if (oFirm.IsFieldVirtual (eFirmFld.firfSysNum))
    // This field can not be updated.

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

VB.NET
 
If oFirm.IsFieldVirtual(eFirmFld.firfSysNum) Then
    ' This field can not be updated.
End If