AFCase.AddInput Method (AFAttribute, AFValue, UOM)
- Last UpdatedNov 18, 2025
- 3 minute read
- PI System
- AF SDK 2024 R2
- Developer
Note: This API is now obsolete.
Adds an attribute and a specified value to the result set.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
[BrowsableAttribute(false)] [ObsoleteAttribute("This method has been replaced by AddInput(AFAttribute,AFValue).")] public AFResult AddInput( AFAttribute attribute, AFValue newValue, UOM specifiedUOM )
<BrowsableAttribute(false)> <ObsoleteAttribute("This method has been replaced by AddInput(AFAttribute,AFValue).")> Public Function AddInput ( attribute As AFAttribute, newValue As AFValue, specifiedUOM As UOM ) As AFResult Dim instance As AFCase Dim attribute As AFAttribute Dim newValue As AFValue Dim specifiedUOM As UOM Dim returnValue As AFResult returnValue = instance.AddInput(attribute, newValue, specifiedUOM)
public: [BrowsableAttribute(false)] [ObsoleteAttribute(L"This method has been replaced by AddInput(AFAttribute,AFValue).")] AFResult^ AddInput( AFAttribute^ attribute, AFValue^ newValue, UOM^ specifiedUOM )
[<BrowsableAttribute(false)>] [<ObsoleteAttribute("This method has been replaced by AddInput(AFAttribute,AFValue).")>] member AddInput : attribute : AFAttribute * newValue : AFValue * specifiedUOM : UOM -> AFResult
Parameters
- attribute
- Type: OSIsoft.AF.AssetAFAttribute
The attribute to add to the result set. - newValue
- Type: OSIsoft.AF.AssetAFValue
The value of the attribute - specifiedUOM
- Type: OSIsoft.AF.UnitsOfMeasureUOM
The unit of measure of the newValue passed to this method.
Return Value
Type: AFResultReturns the newly created input AFResult.
Remarks
This method is obsolete and has been replaced by the
AddInput(AFAttribute, AFValue
method.
Version Information
AFSDK
Obsolete (compiler warning) in 3.1.1Obsolete (compiler warning) in 3.1.0
Obsolete (compiler warning) in 3.0.2
Obsolete (compiler warning) in 3.0.1
Obsolete (compiler warning) in 3.0.0
Obsolete (compiler warning) in 2.10.11
Obsolete (compiler warning) in 2.10.5
Obsolete (compiler warning) in 2.10.0
Obsolete (compiler warning) in 2.10
Obsolete (compiler warning) in 2.9.5
Obsolete (compiler warning) in 2.9
Obsolete (compiler warning) in 2.8.5
Obsolete (compiler warning) in 2.8
Obsolete (compiler warning) in 2.7.5
Obsolete (compiler warning) in 2.7
Obsolete (compiler warning) in 2.6
Obsolete (compiler warning) in 2.5
Obsolete (compiler warning) in 2.4