|
Is the field virtual? |
|
|
VARIANT_BOOL IsFieldVirtual ( 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 |
|
|
|
Samples |
|
|
C++ |
|
if (pMaCrd->IsFieldVirtual (mcrfSysNum))
// This field can not be updated.
|
|
|
C# |
|
if (oMaCrd.IsFieldVirtual (eMaCrdFld.mcrfSysNum))
// This field can not be updated.
|
|
|
VBS |
|
If oMaCrd.IsFieldVirtual(oMaCrd.GetFieldID("SysNum")) Then
' This field can not be updated.
End If
|
|
|
VB.NET |
|
If oMaCrd.IsFieldVirtual(eMaCrdFld.mcrfSysNum) Then
' This field can not be updated.
End If
|
|