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

C#
 
if (oCrncy.IsFieldVirtual (eCrncyFld.crnfSysNum))
    // This field can not be updated.

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

VB.NET
 
If oCrncy.IsFieldVirtual(eCrncyFld.crnfSysNum) Then
    ' This field can not be updated.
End If