TimeZoneInfo.TryConvertWindowsIdToIanaId 메서드

정의

오버로드

Name Description
TryConvertWindowsIdToIanaId(String, String)

Windows 표준 시간대 ID를 IANA ID로 변환하려고 시도합니다.

TryConvertWindowsIdToIanaId(String, String, String)

Windows 표준 시간대 ID를 IANA ID로 변환하려고 시도합니다.

TryConvertWindowsIdToIanaId(String, String)

Source:
TimeZoneInfo.cs
Source:
TimeZoneInfo.cs
Source:
TimeZoneInfo.cs
Source:
TimeZoneInfo.cs
Source:
TimeZoneInfo.cs

Windows 표준 시간대 ID를 IANA ID로 변환하려고 시도합니다.

public:
 static bool TryConvertWindowsIdToIanaId(System::String ^ windowsId, [Runtime::InteropServices::Out] System::String ^ % ianaId);
public static bool TryConvertWindowsIdToIanaId(string windowsId, out string? ianaId);
static member TryConvertWindowsIdToIanaId : string * string -> bool
Public Shared Function TryConvertWindowsIdToIanaId (windowsId As String, ByRef ianaId As String) As Boolean

매개 변수

windowsId
String

Windows 시간대 ID입니다.

ianaId
String

이 메서드가 반환될 때 지정된 Windows ID에 해당하는 IANA ID를 포함합니다.

반품

true ID 변환에 성공하면 이고, false 그렇지 않으면 입니다.

설명

이 API는 .NET 6.0 이상 버전에서만 지원됩니다. 애플리케이션이 ICU 라이브러리를 사용하는 경우에도 지원되며, 그렇지 않으면 API가 실패합니다. 그러나 .NET ICU 라이브러리는 기본적으로 항상 사용되지는 않으며, 특히 다음 시나리오에서 사용됩니다.

애플리케이션이 ICU 라이브러리가 없는 Windows OS 버전에서 실행되는 경우 App-Local ICU 기능을 통해 ICU 라이브러리를 옵트인하고 사용하도록 설정하는 옵션이 있습니다.

적용 대상

TryConvertWindowsIdToIanaId(String, String, String)

Source:
TimeZoneInfo.cs
Source:
TimeZoneInfo.cs
Source:
TimeZoneInfo.cs
Source:
TimeZoneInfo.cs
Source:
TimeZoneInfo.cs

Windows 표준 시간대 ID를 IANA ID로 변환하려고 시도합니다.

public:
 static bool TryConvertWindowsIdToIanaId(System::String ^ windowsId, System::String ^ region, [Runtime::InteropServices::Out] System::String ^ % ianaId);
public static bool TryConvertWindowsIdToIanaId(string windowsId, string? region, out string? ianaId);
static member TryConvertWindowsIdToIanaId : string * string * string -> bool
Public Shared Function TryConvertWindowsIdToIanaId (windowsId As String, region As String, ByRef ianaId As String) As Boolean

매개 변수

windowsId
String

Windows 시간대 ID입니다.

region
String

국가/지역에 대한 ISO 3166 코드입니다.

ianaId
String

이 메서드가 반환될 때 지정된 Windows ID에 해당하는 IANA ID를 포함합니다.

반품

true ID 변환에 성공하면 이고, false 그렇지 않으면 입니다.

설명

이 API는 .NET 6.0 이상 버전에서만 지원됩니다. 애플리케이션이 ICU 라이브러리를 사용하는 경우에도 지원되며, 그렇지 않으면 API가 실패합니다. 그러나 .NET ICU 라이브러리는 기본적으로 항상 사용되지는 않으며, 특히 다음 시나리오에서 사용됩니다.

애플리케이션이 ICU 라이브러리가 없는 Windows OS 버전에서 실행되는 경우 App-Local ICU 기능을 통해 ICU 라이브러리를 옵트인하고 사용하도록 설정하는 옵션이 있습니다.

적용 대상