|
Is the field public? |
|
|
VARIANT_BOOL IsFieldPublic ( enum ePInvceDetFld eFieldID ) |
|
|
Parameters | eFieldID | [in] Identifier of the field, e.g. pidfSysNum (C++) or ePInvceDetFld.pidfSysNum (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 |
|
|
|
Samples |
|
|
C++ |
|
if (pPInvceDet->IsFieldPublic (pidfSysNum))
// This field can be updated.
|
|
|
C# |
|
if (oPInvceDet.IsFieldPublic (ePInvceDetFld.pidfSysNum))
// This field can be updated.
|
|
|
VBS |
|
If oPInvceDet.IsFieldPublic(oPInvceDet.GetFieldID("SysNum")) Then
' This field can be updated.
End If
|
|
|
VB.NET |
|
If oPInvceDet.IsFieldPublic(ePInvceDetFld.pidfSysNum) Then
' This field can be updated.
End If
|
|