Flags Property (IPIValueAttribute interface)


The Flags property of IPIValueAttribute is a read-only long property of the PIValue object. The property contains a bit mask of flags set for a PIValue.



The object placeholder is an object expression that evaluates to an IPIValueAttribute object.


This is a read-only property. The values it returns are populated when you retrieve a PIValue from a PI server (or create a new PIValue). The enum PIValueFlagBitMask can be used to extract specific bits.


Setting Value Description
eAnnotatedMask 1 The value is annotated.
eQuestionableMask 2 The value is marked "questionable".  This is set by applications.
eSubstitutedMask 4 The value has been substituted (edited) in the data archive.  It is not the original value.



Enabling Operational Intelligence