You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.Globalization/CultureInfo.xml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -209,7 +209,7 @@ Some `CultureInfo` objects differ depending on the underlying platform. In parti
209
209
210
210
1. Instantiate a <xref:System.Globalization.CultureInfo> object that represents that culture by calling a <xref:System.Globalization.CultureInfo> class constructor and passing it the name of the culture. The <xref:System.Globalization.CultureInfo.%23ctor%28System.String%29> constructor instantiates a <xref:System.Globalization.CultureInfo> object that reflects user overrides if the new culture is the same as the current Windows culture. The <xref:System.Globalization.CultureInfo.%23ctor%28System.String%2CSystem.Boolean%29> constructor allows you to specify whether the newly instantiated <xref:System.Globalization.CultureInfo> object reflects user overrides if the new culture is the same as the current Windows culture.
211
211
212
-
2. Assign the <xref:System.Globalization.CultureInfo> object to the <xref:System.Globalization.CultureInfo.CurrentCulture%2A?displayProperty=nameWithType> or <xref:System.Globalization.CultureInfo.CurrentUICulture%2A?displayProperty=nameWithType> property on .NET Core and .NET Framework 4.6 and later versions. (On .NET Framework 4.5.2 and earlier versions, youc an assign the `CultureInfo` object to the <xref:System.Threading.Thread.CurrentCulture%2A?displayProperty=nameWithType> or <xref:System.Threading.Thread.CurrentUICulture%2A?displayProperty=nameWithType> property.)
212
+
2. Assign the <xref:System.Globalization.CultureInfo> object to the <xref:System.Globalization.CultureInfo.CurrentCulture%2A?displayProperty=nameWithType> or <xref:System.Globalization.CultureInfo.CurrentUICulture%2A?displayProperty=nameWithType> property on .NET Core and .NET Framework 4.6 and later versions. (On .NET Framework 4.5.2 and earlier versions, you can assign the `CultureInfo` object to the <xref:System.Threading.Thread.CurrentCulture%2A?displayProperty=nameWithType> or <xref:System.Threading.Thread.CurrentUICulture%2A?displayProperty=nameWithType> property.)
213
213
214
214
The following example retrieves the current culture. If it is anything other than the French (France) culture, it changes the current culture to French (France). Otherwise, it changes the current culture to French (Luxembourg).
215
215
@@ -223,7 +223,7 @@ Some `CultureInfo` objects differ depending on the underlying platform. In parti
223
223
224
224
<a name="GetAll"></a>
225
225
## Getting all cultures
226
-
You can retrieve an array specific categories of cultures or of all the cultures available on the local computer by calling the <xref:System.Globalization.CultureInfo.GetCultures%2A> method. For example, you can retrieve custom cultures, specific cultures, or neutral cultures either alone or in combination.
226
+
You can retrieve an array of specific categories of cultures or of all the cultures available on the local computer by calling the <xref:System.Globalization.CultureInfo.GetCultures%2A> method. For example, you can retrieve custom cultures, specific cultures, or neutral cultures either alone or in combination.
227
227
228
228
The following example calls the <xref:System.Globalization.CultureInfo.GetCultures%2A> method twice, first with the <xref:System.Globalization.CultureTypes?displayProperty=nameWithType> enumeration member to retrieve all custom cultures, and then with the <xref:System.Globalization.CultureTypes?displayProperty=nameWithType> enumeration member to retrieve all replacement cultures.
229
229
@@ -3019,7 +3019,7 @@ For a list of predefined culture names and identifiers that the <xref:System.Glo
3019
3019
</ReturnValue>
3020
3020
<Docs>
3021
3021
<summary>Gets the culture name, consisting of the language, the country/region, and the optional script, that the culture is set to display.</summary>
3022
-
<value>The culture name. consisting of the full name of the language, the full name of the country/region, and the optional script. The format is discussed in the description of the <seecref="T:System.Globalization.CultureInfo" /> class.</value>
3022
+
<value>The culture name, consisting of the full name of the language, the full name of the country/region, and the optional script. The format is discussed in the description of the <seecref="T:System.Globalization.CultureInfo" /> class.</value>
0 commit comments