AFAnnotation.IsDeleted Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This read-only property indicates whether the object has been deleted.
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public bool IsDeleted { get; }
Public ReadOnly Property IsDeleted As Boolean Get Dim instance As AFAnnotation Dim value As Boolean value = instance.IsDeleted
public: property bool IsDeleted { bool get (); }
member IsDeleted : bool with get
Property Value
Type: BooleanIf the value is , then the object has been deleted.
Remarks
When the object has been deleted, only it's ID and Name
properties (if it has a name) can be accessed without throwing an exception.