AFTimeZone Implicit Conversion (AFTimeZone to TimeZoneInfo)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
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 )
Parameters
- timeZone
- Type: OSIsoft.AF.TimeAFTimeZone
The AFTimeZone to be converted.
Return Value
Type: TimeZoneInfoReturns the TimeZoneInfo which corresponds to the specified timeZone parameter.