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

C#
 
if (oPstCd.IsFieldVirtual (ePstCdFld.pstfSysNum))
    // This field can not be updated.

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

VB.NET
 
If oPstCd.IsFieldVirtual(ePstCdFld.pstfSysNum) Then
    ' This field can not be updated.
End If