Click or drag to resize
OSIsoft, LLC

PIPointGetAnnotation Method

Gets the annotation associated with a single historical event.

Namespace:  OSIsoft.AF.PI
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version:
public Object GetAnnotation(
	AFValue value


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

Return Value

Type: Object
Returns a annotation object can be a structured AFAnnotations, or a single value of type Byte[], String, DateTime, AFTime, or a primitive type. If there is no associated annotation the result value will be .

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


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