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

C#
 
if (oStValDet.IsFieldVirtual (eStValDetFld.stvfSysNum))
    // This field can not be updated.

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

VB.NET
 
If oStValDet.IsFieldVirtual(eStValDetFld.stvfSysNum) Then
    ' This field can not be updated.
End If