TimeZoneHelperTryFindSystemTimeZoneById Method |
Tries to find the system time zone by identifier.
Namespace:
Dundas.BI.Utility
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax public static bool TryFindSystemTimeZoneById(
string? timeZoneId,
out TimeZoneInfo?? timeZoneInfo
)
Public Shared Function TryFindSystemTimeZoneById (
timeZoneId As String,
<OutAttribute> ByRef timeZoneInfo As TimeZoneInfo
) As Boolean
public:
static bool TryFindSystemTimeZoneById(
String^ timeZoneId,
[OutAttribute] TimeZoneInfo^% timeZoneInfo
)
static member TryFindSystemTimeZoneById :
timeZoneId : string *
timeZoneInfo : TimeZoneInfo byref -> bool
Parameters
- timeZoneId
- Type: SystemString
The time zone identifier. - timeZoneInfo
- Type: SystemTimeZoneInfo
The TimeZoneInfo object if found, otherwise.
Return Value
Type:
BooleanThe value of
if the time zone is found; otherwise,
.
See Also