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

C#
 
if (oSOfferDet.IsFieldPublic (eSOfferDetFld.sodfSysNum))
    // This field can be updated.

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

VB.NET
 
If oSOfferDet.IsFieldPublic(eSOfferDetFld.sodfSysNum) Then
    ' This field can be updated.
End If