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

C#
 
if (oEdoWork.IsFieldVirtual (eEdoWorkFld.ewkfSysNum))
    // This field can not be updated.

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

VB.NET
 
If oEdoWork.IsFieldVirtual(eEdoWorkFld.ewkfSysNum) Then
    ' This field can not be updated.
End If