AFAnnotation.Value Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
The value of the annotation.
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
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. |