AFAnnotation.ModifyDate Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
The time when the annotation was last modified.
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFTime ModifyDate { get; set; }
Public Property ModifyDate As AFTime Get Set Dim instance As AFAnnotation Dim value As AFTime value = instance.ModifyDate instance.ModifyDate = value
public: property AFTime ModifyDate { AFTime get (); void set (AFTime value); }
member ModifyDate : AFTime with get, set
Property Value
Type: AFTimeThe time when the annotation was last modified. Defaults to the current time. This property can only be set if it is a PIPoint annotation.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | An InvalidOperationException will be thrown if this property is changed and is not a PIPoint annotation. |