AFAnnotation.Value Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
The value of the annotation.
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public Object Value { get; set; }
Public Property Value As Object Get Set Dim instance As AFAnnotation Dim value As Object value = instance.Value instance.Value = value
public: property Object^ Value { Object^ get (); void set (Object^ value); }
member Value : Object with get, set
Property Value
Type: ObjectReturns the value of the annotation.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | An InvalidOperationException is thrown if the current Annotation is an AFObject annotation and the set value is null or not a string. |