AFAttribute.SetValue Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This method sets the value for an attribute based upon the data reference configuration.
Overload List
| Name | Description | |
|---|---|---|
| SetValue(AFValue) |
This method sets the value for an attribute based upon the data reference configuration
using the specified AFValue object.
| |
| SetValue(Object, UOM) |
This method sets the value for an attribute based upon the data reference configuration
with a default timestamp and the specified unit-of-measure.
| |
| SetValue(AFCase, AFValue) |
This method sets the value for an attribute into the result set of the specified
caseContext using the specified AFValue object.
Values written into the case can be subsequently output to associated data references by invoking
AFCase.Publish method.
| |
| SetValue(Object, Object, UOM) | Obsolete.
This method sets the value for an attribute based upon the data reference configuration
with a default timestamp and the specified unit-of-measure.
| |
| SetValue(AFCase, AFValue, UOM) | Obsolete.
This method sets the value for an attribute based into the result set of the specified
AFCase context using the specified AFValue object.
Values written into the case can be subsequently output to associated data references by invoking
AFCase.Publish method.
| |
| SetValue(AFCase, Object, UOM) |
This method sets the value for an attribute into the result set of the specified
caseContext with a default timestamp and the specified unit-of-measure.
Values written into the case can be subsequently output to associated data references by invoking
AFCase.Publish method.
|