RegionInfo.ToString Method
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.
Returns a string containing the culture name or ISO 3166 two-letter country/region codes specified for the current RegionInfo.
public:
override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String
Returns
A string containing the culture name or ISO 3166 two-letter country/region codes defined for the current RegionInfo.
Remarks
This method overrides Object.ToString.
This method returns the value of the Name property.
Case is not significant. However, the Name, TwoLetterISORegionName, and ThreeLetterISORegionName properties return the appropriate code in uppercase.
The predefined RegionInfo names are listed on the RegionInfo class page.
Applies to
See also
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про