AFCase.AddInput Method (AFAttribute)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- 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.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: 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.