RegionInfo.CurrentRegion Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για