TimeZoneHelperTryFindSystemTimeZoneById Method |
Tries to find the system time zone by identifier.
Namespace: Dundas.BI.UtilityAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntaxpublic 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 String
- The time zone identifier.
- timeZoneInfo TimeZoneInfo
- The TimeZoneInfo object if found, otherwise.
Return Value
BooleanThe value of
if the time zone is found; otherwise,
.
See Also