Venice
Project::IsFieldPublic
 
Is the field public?
 
VARIANT_BOOL IsFieldPublic (
    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->IsFieldPublic (pjhfSysNum))
    // This field can be updated.

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

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

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