CtLnk::IsFieldVirtual (Interface: CtLnk)
 
Is the field virtual?
 
VARIANT_BOOL IsFieldVirtual (
    enum eCtLnkFld eFieldID
)
 
Parameters
eFieldID
[in] Identifier of the field, e.g. ctlfSysNum (C++) or eCtLnkFld.ctlfSysNum (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
CreateCtLnk
 
Samples
 
C++
 
if (pCtLnk->IsFieldVirtual (ctlfSysNum))
    // This field can not be updated.

C#
 
if (oCtLnk.IsFieldVirtual (eCtLnkFld.ctlfSysNum))
    // This field can not be updated.

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

VB.NET
 
If oCtLnk.IsFieldVirtual(eCtLnkFld.ctlfSysNum) Then
    ' This field can not be updated.
End If