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

C#
 
if (oSOrder.IsFieldPublic (eSOrderFld.sorfSysNum))
    // This field can be updated.

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

VB.NET
 
If oSOrder.IsFieldPublic(eSOrderFld.sorfSysNum) Then
    ' This field can be updated.
End If