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