Click or drag to resize
OSIsoft, LLC

AFDataReferenceGetAnnotation Method

Gets the annotation associated with a single historical event.

Namespace:  OSIsoft.AF.Asset
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.6.195
Syntax
public virtual Object GetAnnotation(
	AFValue value
)

Parameters

value
Type: OSIsoft.AF.AssetAFValue
A previously returned AFValue for this PIPoint.

Return Value

Type: Object
Will return either a list of structured AFAnnotations or a single value of type Object.
Remarks

This method will retrieve the annotation associated with a single historical event. To update an existing annotation, use the SetAnnotation(AFValue, Object) method.

The attribute must indicate that it supports retrieving annotations by including the Annotations flag in its SupportedDataMethods.

Version Information

AFSDK

Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6, 2.5
See Also
Enabling Operational Intelligence