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

AF SDK Reference

AFAnnotation.CreationDate Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAnnotation.CreationDate Property
The time when the annotation was created.

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

Syntax

public AFTime CreationDate { get; set; }
Public Property CreationDate As AFTime
	Get
	Set

Dim instance As AFAnnotation
Dim value As AFTime

value = instance.CreationDate

instance.CreationDate = value
public:
property AFTime CreationDate {
	AFTime get ();
	void set (AFTime value);
}
member CreationDate : AFTime with get, set

Property Value

Type: AFTime
Returns the time when the annotation was created. Defaults to the current time. If this is not a PIPoint annotation, then it can only be set for new objects that have not been saved to the server. Once it has been saved, it cannot be modified unless it is a PIPoint annotation.

Exceptions

ExceptionCondition
InvalidOperationException An InvalidOperationException will be thrown if this property is changed and is not a PIPoint annotation.

Version Information

AFSDK


See Also

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