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

C#
 
if (oMaCrd.IsFieldPublic (eMaCrdFld.mcrfSysNum))
    // This field can be updated.

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

VB.NET
 
If oMaCrd.IsFieldPublic(eMaCrdFld.mcrfSysNum) Then
    ' This field can be updated.
End If