Windows Dev Center

TimeZoneInfo.ToString Method

Returns the current TimeZoneInfo object's display name.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public override string ToString()

Return Value

Type: System.String
The value of the DisplayName property of the current TimeZoneInfo object.

Version Notes

XNA Framework

 When this method is used in the XNA Framework, it throws a NotSupportedException exception.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft