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 (TimeZoneInfo to AFTimeZone)

AFTimeZone Implicit Conversion (TimeZoneInfo to AFTimeZone)

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

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

Syntax

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

Dim input As TimeZoneInfo
Dim output As AFTimeZone

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

Parameters

timeZone
Type: SystemTimeZoneInfo
The TimeZoneInfo to be converted.

Return Value

Type: AFTimeZone
Returns a new AFTimeZone created from the specified timeZone parameter.

Version Information

AFSDK


See Also

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