Szerkesztés

Megosztás a következőn keresztül:


RegionInfo.CurrentRegion Property

Definition

Gets the RegionInfo that represents the country/region used by the current thread.

public:
 static property System::Globalization::RegionInfo ^ CurrentRegion { System::Globalization::RegionInfo ^ get(); };
public static System.Globalization.RegionInfo CurrentRegion { get; }
static member CurrentRegion : System.Globalization.RegionInfo
Public Shared ReadOnly Property CurrentRegion As RegionInfo

Property Value

The RegionInfo that represents the country/region used by the current thread.

Remarks

The value of this property is based on the culture selected through the regional and language options portion of Control Panel. However, that information can change during the life of the AppDomain. The RegionInfo class does not automatically detect changes in the system settings, but the CurrentRegion property is updated when you call the ClearCachedData method.

Applies to