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

C#
 
if (oComAs.IsFieldVirtual (eComAsFld.casfSysNum))
    // This field can not be updated.

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

VB.NET
 
If oComAs.IsFieldVirtual(eComAsFld.casfSysNum) Then
    ' This field can not be updated.
End If