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

C#
 
if (oProject.IsFieldVirtual (eProjectFld.pjhfSysNum))
    // This field can not be updated.

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

VB.NET
 
If oProject.IsFieldVirtual(eProjectFld.pjhfSysNum) Then
    ' This field can not be updated.
End If