|
Is the field virtual? |
|
|
VARIANT_BOOL IsFieldVirtual ( enum eCntryFld eFieldID ) |
|
|
Parameters | eFieldID | [in] Identifier of the field, e.g. cntfSysNum (C++) or eCntryFld.cntfSysNum (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 (pCntry->IsFieldVirtual (cntfSysNum))
// This field can not be updated.
|
|
|
C# |
|
if (oCntry.IsFieldVirtual (eCntryFld.cntfSysNum))
// This field can not be updated.
|
|
|
VBS |
|
If oCntry.IsFieldVirtual(oCntry.GetFieldID("SysNum")) Then
' This field can not be updated.
End If
|
|
|
VB.NET |
|
If oCntry.IsFieldVirtual(eCntryFld.cntfSysNum) Then
' This field can not be updated.
End If
|
|