TimeZoneInfoProvider
This Class defines the TimeZoneInfoProvider that implements the TimeZoneProviderBase and IDisposable.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class TimeZoneInfoProvider : TimeZoneProviderBase, IDisposable
Inheritance: objectProviderBaseTimeZoneProviderBaseTimeZoneInfoProvider
Implements:
Inherited Members
Constructors
public TimeZoneInfoProvider()
Methods
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Implements:
Gets list of all time zones available on the system.
public override List<TimeZoneNamePair> GetAllTimeZones()
Returns list of all time zones available on the system.
Overrides:
Initializes the provider.
public override void Initialize(string name, NameValueCollection config)
The friendly name of the provider.
configNameValueCollectionA collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider.
Exceptions: ArgumentNullExceptionThe name of the provider is null.
ArgumentExceptionThe name of the provider has a length of zero.
InvalidOperationExceptionAn attempt is made to call Initialize(string, NameValueCollection) on a provider after the provider has already been initialized.
Overrides: