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, AFValue)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFCase.AddInput Method (AFAttribute, AFValue)
Adds an attribute and a specified AFValue 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,
	AFValue value
)
Public Function AddInput ( 
	attribute As AFAttribute,
	value As AFValue
) As AFResult

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

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

Parameters

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

Return Value

Type: AFResult
Returns the newly created input AFResult.

Remarks

This method adds the specified AFAttribute and the specified value to the result set. Use this method if you do not want the SDK to automatically determine the attribute's value at the time of the case.

Version Information

AFSDK


See Also

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