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

AF SDK Reference

AFTimeZoneFormatProvider Class

  • Last UpdatedNov 18, 2025
  • 3 minute read
AFTimeZoneFormatProvider Class
An IFormatProvider that specifies a TimeZone to be used when parsing time strings.

Inheritance Hierarchy

SystemObject
  OSIsoft.AF.TimeAFTimeZoneFormatProvider

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

Syntax

public sealed class AFTimeZoneFormatProvider : IFormatProvider
Public NotInheritable Class AFTimeZoneFormatProvider
	Implements IFormatProvider

Dim instance As AFTimeZoneFormatProvider
public ref class AFTimeZoneFormatProvider sealed : IFormatProvider
[<SealedAttribute>]
type AFTimeZoneFormatProvider =  
    class
        interface IFormatProvider
    end

The AFTimeZoneFormatProvider type exposes the following members.

Constructors

  NameDescription
Public method
AFTimeZoneFormatProvider
Creates a new instance of the AFTimeZoneFormatProvider.

Properties

  NameDescription
Public property
Provider
An object that supplies culture-specific formatting information.
Public property
TimeZone
The AFTimeZone to be used when parsing time strings.

Methods

  NameDescription
Public method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method
ToString
Returns a String that represents the current object.
(Overrides ObjectToString.)
Public method
ToString(IFormatProvider)
Returns a String that represents the current object.

Remarks

This IFormatProvider allows a TimeZone to be specified when parsing time strings.

Version Information

AFSDK


See Also

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