AFAnnotations.Contains Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
The Contains method determines if an AFAnnotation exists in the list.
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public bool Contains( AFAnnotation item )
Public Function Contains ( item As AFAnnotation ) As Boolean Dim instance As AFAnnotations Dim item As AFAnnotation Dim returnValue As Boolean returnValue = instance.Contains(item)
public: virtual bool Contains( AFAnnotation^ item ) sealed
abstract Contains : item : AFAnnotation -> bool override Contains : item : AFAnnotation -> bool
Parameters
- item
- Type: OSIsoft.AF.DataAFAnnotation
The AFAnnotation to find in the list of structured AFAnnotations.
Return Value
Type: Booleanif the AFAnnotation exists in the list.