Click or drag to resize

TimeZoneFactoryFind Method

Gets a IdtTimeZone from the cache.

Namespace: InnerDrive.TimeZones
Assembly: InnerDrive.TimeZones (in InnerDrive.TimeZones.dll) Version: 5.0.8475.0
Syntax
C#
public Task<IdtTimeZone> Find(
	string? zoneName,
	ZoneNotFoundBehavior zoneNotFoundBehavior = ZoneNotFoundBehavior.ThrowOnNotFound
)

Parameters

zoneName  String
The name of the IdtTimeZone to find.
zoneNotFoundBehavior  ZoneNotFoundBehavior  (Optional)
Determines the behavior of the method if the zone specified in zoneName cannot be found.

Return Value

TaskIdtTimeZone
A IdtTimeZone.

Implements

ITimeZoneFactoryFind(String, ZoneNotFoundBehavior)
Exceptions
ExceptionCondition
ArgumentExceptionThe zone named in zoneName cannot be found andzoneNotFoundBehavior is ThrowOnNotFound.
See Also