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