Venice
PayWork::IsFieldPublic
 
Is the field public?
 
VARIANT_BOOL IsFieldPublic (
    enum ePayWorkFld eFieldID
)
 
Parameters
eFieldID
[in] Identifier of the field, e.g. pwkfSysNum (C++) or ePayWorkFld.pwkfSysNum (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
CreatePayWork
 
Samples
 
C++
 
if (pPayWork->IsFieldPublic (pwkfSysNum))
    // This field can be updated.

C#
 
if (oPayWork.IsFieldPublic (ePayWorkFld.pwkfSysNum))
    // This field can be updated.

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

VB.NET
 
If oPayWork.IsFieldPublic(ePayWorkFld.pwkfSysNum) Then
    ' This field can be updated.
End If