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