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

AF SDK Reference

AFTimeZone Implicit Conversion (AFTimeZone to TimeZoneInfo)

AFTimeZone Implicit Conversion (AFTimeZone to TimeZoneInfo)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFTimeZone Implicit Conversion (AFTimeZone to TimeZoneInfo)
Implicit cast operator to convert an AFTimeZone to a TimeZoneInfo.

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

Syntax

public static implicit operator TimeZoneInfo (
	AFTimeZone timeZone
)
Public Shared Widening Operator CType ( 
	timeZone As AFTimeZone
) As TimeZoneInfo

Dim input As AFTimeZone
Dim output As TimeZoneInfo

output = CType(input, TimeZoneInfo)
static implicit operator TimeZoneInfo^ (
	AFTimeZone^ timeZone
)
F# does not support the declaration of new casting operators.

Parameters

timeZone
Type: OSIsoft.AF.TimeAFTimeZone
The AFTimeZone to be converted.

Return Value

Type: TimeZoneInfo
Returns the TimeZoneInfo which corresponds to the specified timeZone parameter.

Version Information

AFSDK


See Also

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