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