Click or drag to resize
OSIsoft, LLC

AFTimeSpanToString Method (IFormatProvider)

Returns a String that represents the current object.

Namespace:  OSIsoft.AF.Time
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version:
public string ToString(
	IFormatProvider provider


Type: SystemIFormatProvider
An object that supplies culture-specific formatting information. If , then the DateTimeFormatInfo associated with the current culture is used.

Return Value

Type: String
Returns a String that represents the current object.
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


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, 2.4
See Also
Enabling Operational Intelligence