Venice
Product::IsFieldVirtual
 
Is the field virtual?
 
VARIANT_BOOL IsFieldVirtual (
    enum eProductFld eFieldID
)
 
Parameters
eFieldID
[in] Identifier of the field, e.g. profSysNum (C++) or eProductFld.profSysNum (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
CreateProduct
 
Samples
 
C++
 
if (pProduct->IsFieldVirtual (profSysNum))
    // This field can not be updated.

C#
 
if (oProduct.IsFieldVirtual (eProductFld.profSysNum))
    // This field can not be updated.

VBS
 
If oProduct.IsFieldVirtual(oProduct.GetFieldID("SysNum")) Then
    ' This field can not be updated.
End If

VB.NET
 
If oProduct.IsFieldVirtual(eProductFld.profSysNum) Then
    ' This field can not be updated.
End If