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

C#
 
if (oProduct.IsFieldPublic (eProductFld.profSysNum))
    // This field can be updated.

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

VB.NET
 
If oProduct.IsFieldPublic(eProductFld.profSysNum) Then
    ' This field can be updated.
End If