AFValue.IsGood Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Indicates whether the value is good or bad.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public bool IsGood { get; set; }
Public Property IsGood As Boolean Get Set Dim instance As AFValue Dim value As Boolean value = instance.IsGood instance.IsGood = value
public: property bool IsGood { bool get (); void set (bool value); }
member IsGood : bool with get, set
Property Value
Type: BooleanThe status indicates whether the value is good or bad. A value which is questionable will return .
Remarks
The equivalent result can be obtained directly from the Status by the following C# expression:
(value.Status & AFValueStatus.QualityMask) != AFValueStatus.Bad