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

C#
 
if (oPDelivDet.IsFieldPublic (ePDelivDetFld.pddfSysNum))
    // This field can be updated.

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

VB.NET
 
If oPDelivDet.IsFieldPublic(ePDelivDetFld.pddfSysNum) Then
    ' This field can be updated.
End If