AFCase.AddInput Method (AFAttribute)
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
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.2.0.7
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: AFResultReturns 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.