Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFAnnotations.Contains Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAnnotations.Contains Method
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: Boolean
if the AFAnnotation exists in the list.

Implements

ICollectionTContains(T)

Version Information

AFSDK


See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in