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

AF SDK Reference

AFValue.CreateSystemNoDataFound Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFValue.CreateSystemNoDataFound Method
This method will create an AFValue object with a system state of NoData as its AFEnumerationValue with a Bad status that is associated with an AFAttribute.

Namespace:  OSIsoft.AF.Asset
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public static AFValue CreateSystemNoDataFound(
	AFAttribute attribute,
	AFTime timestamp
)
Public Shared Function CreateSystemNoDataFound ( 
	attribute As AFAttribute,
	timestamp As AFTime
) As AFValue

Dim attribute As AFAttribute
Dim timestamp As AFTime
Dim returnValue As AFValue

returnValue = AFValue.CreateSystemNoDataFound(attribute, 
	timestamp)
public:
static AFValue^ CreateSystemNoDataFound(
	AFAttribute^ attribute, 
	AFTime timestamp
)
static member CreateSystemNoDataFound : 
        attribute : AFAttribute * 
        timestamp : AFTime -> AFValue 

Parameters

attribute
Type: OSIsoft.AF.AssetAFAttribute
The AFAttribute to be associated with the new value.
timestamp
Type: OSIsoft.AF.TimeAFTime
The timestamp associated with the new value.

Return Value

Type: AFValue
An instance of AFValue representing a NoData state that denotes that no data was found.

Remarks

This value should be used by data reference developers implementing RecordedValue(AFTime, AFRetrievalMode, AFAttributeList, AFValues) as a return value to denote that no values exist while searching in direction of the passed in AFRetrievalMode.

Version Information

AFSDK


See Also

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