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

AF SDK Reference

AFValue.Value Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFValue.Value Property
This property contains the actual value.

Namespace:  OSIsoft.AF.Asset
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 AFValue
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
The actual value may be of any type. However, in order for a value to be saved, it must either be a .NET base type, a .NET serializable type, or support the PI SDK's IPIPersist interface. This means it is possible to have values such as arrays, System.Data.DataSet's, PISDK.PIPoint's, and references to other AF SDK objects.

Version Information

AFSDK


See Also

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