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