AFTimeZone Implicit Conversion (TimeZoneInfo to AFTimeZone)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
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 )
Parameters
- timeZone
- Type: SystemTimeZoneInfo
The TimeZoneInfo to be converted.
Return Value
Type: AFTimeZoneReturns a new AFTimeZone created from the specified timeZone parameter.