AFTimeZone Implicit Conversion (AFTimeZone to TimeZoneInfo)
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Implicit cast operator to convert an AFTimeZone to a TimeZoneInfo.
Namespace: OSIsoft.AF.Time
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
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 )
Parameters
- timeZone
- Type: OSIsoft.AF.TimeAFTimeZone
The AFTimeZone to be converted.
Return Value
Type: TimeZoneInfoReturns the TimeZoneInfo which corresponds to the specified timeZone parameter.