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

AF SDK Reference

AFValue.ToString Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFValue.ToString Method
Returns a String that represents the current object.

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

Syntax

public override string ToString()
Public Overrides Function ToString As String

Dim instance As AFValue
Dim returnValue As String

returnValue = instance.ToString()
public:
virtual String^ ToString() override
abstract ToString : unit -> string 
override ToString : unit -> string 

Return Value

Type: String
Returns a String that represents the current object.

Remarks

This is an override of the Object.ToString method which returns a human-readable string for the object. If the object has a Name property, then the value of that property is normally returned. For collections, the AFIdentity is normally returned.

Version Information

AFSDK


See Also

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