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

C#
 
if (oProductDet.IsFieldPublic (eProductDetFld.cpdfSysNum))
    // This field can be updated.

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

VB.NET
 
If oProductDet.IsFieldPublic(eProductDetFld.cpdfSysNum) Then
    ' This field can be updated.
End If