AFAnnotation.ModifyDate Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
The time when the annotation was last modified.
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
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. |