Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFValue.IsGood Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFValue.IsGood Property
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: Boolean
The 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

Version Information

AFSDK


See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in