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