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

C#
 
if (oArtWrh.IsFieldVirtual (eArtWrhFld.awhfSysNum))
    // This field can not be updated.

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

VB.NET
 
If oArtWrh.IsFieldVirtual(eArtWrhFld.awhfSysNum) Then
    ' This field can not be updated.
End If