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

AF SDK Reference

AFAnnotation.Value Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAnnotation.Value Property
The value of the annotation.

Namespace:  OSIsoft.AF.Data
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public Object Value { get; set; }
Public Property Value As Object
	Get
	Set

Dim instance As AFAnnotation
Dim value As Object

value = instance.Value

instance.Value = value
public:
property Object^ Value {
	Object^ get ();
	void set (Object^ value);
}
member Value : Object with get, set

Property Value

Type: Object
Returns the value of the annotation.

Exceptions

ExceptionCondition
InvalidOperationException An InvalidOperationException is thrown if the current Annotation is an AFObject annotation and the set value is null or not a string.

Remarks

If this is an AFObject annotation, Value can only accept a String object.

Version Information

AFSDK


See Also

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