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

AF SDK Reference

AFCase.AddInput Method (AFAttribute)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFCase.AddInput Method (AFAttribute)
Adds an attribute and its value at the time of the case to the result set.

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

Syntax

public AFResult AddInput(
	AFAttribute attribute
)
Public Function AddInput ( 
	attribute As AFAttribute
) As AFResult

Dim instance As AFCase
Dim attribute As AFAttribute
Dim returnValue As AFResult

returnValue = instance.AddInput(attribute)
public:
AFResult^ AddInput(
	AFAttribute^ attribute
)
member AddInput : 
        attribute : AFAttribute -> AFResult 

Parameters

attribute
Type: OSIsoft.AF.AssetAFAttribute
The attribute to add to the result set.

Return Value

Type: AFResult
Returns the newly created input AFResult.

Remarks

This method adds the specified AFAttribute and its value at the time of the case to the result set. The SDK will automatically determine the value of the attribute at the time of the case using the GetValue(AFTimeRange) method.

Version Information

AFSDK


See Also

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