1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="CultureTypes" FullName="System.Globalization.CultureTypes">
3 <TypeSignature Maintainer="auto" Language="C#" Value="public enum CultureTypes" />
4 <TypeSignature Language="ILAsm" Value=".class public auto ansi serializable sealed CultureTypes extends System.Enum" />
6 <AssemblyName>mscorlib</AssemblyName>
7 <AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey>
8 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
9 <AssemblyVersion>2.0.0.0</AssemblyVersion>
10 <AssemblyVersion>4.0.0.0</AssemblyVersion>
12 <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
14 <BaseTypeName>System.Enum</BaseTypeName>
18 <AttributeName>System.Flags</AttributeName>
21 <AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
26 <attribution license="cc4" from="Microsoft" modified="false" />
27 <para>These culture type values are returned by the <see cref="P:System.Globalization.CultureInfo.CultureTypes" /> property, and also serve as a filter that limits the cultures returned by the <see cref="M:System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes)" /> method. For more information on cultures, see <see cref="T:System.Globalization.CultureInfo" />.</para>
28 <para>Generally, your application should enumerate all cultures, using the <see cref="F:System.Globalization.CultureTypes.AllCultures" /> value. This allows enumeration of custom cultures, as well as the other culture types.</para>
29 <para>Note that the <see cref="F:System.Globalization.CultureTypes.FrameworkCultures" /> and <see cref="F:System.Globalization.CultureTypes.WindowsOnlyCultures" /> members have been deprecated. </para>
32 <attribution license="cc4" from="Microsoft" modified="false" />
33 <para>Defines the types of culture lists that can be retrieved using the <see cref="M:System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes)" /> method.</para>
37 <Member MemberName="AllCultures">
38 <MemberSignature Language="C#" Value="AllCultures" />
39 <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Globalization.CultureTypes AllCultures = int32(7)" />
40 <MemberType>Field</MemberType>
42 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
43 <AssemblyVersion>2.0.0.0</AssemblyVersion>
44 <AssemblyVersion>4.0.0.0</AssemblyVersion>
47 <ReturnType>System.Globalization.CultureTypes</ReturnType>
51 <remarks>To be added</remarks>
53 <attribution license="cc4" from="Microsoft" modified="false" />
54 <para>All cultures that ship with the .NET Framework, including neutral and specific cultures, cultures installed in the Windows operating system, and custom cultures created by the user.</para>
58 <Member MemberName="FrameworkCultures">
59 <MemberSignature Language="C#" Value="FrameworkCultures" />
60 <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Globalization.CultureTypes FrameworkCultures = int32(64)" />
61 <MemberType>Field</MemberType>
63 <AssemblyVersion>2.0.0.0</AssemblyVersion>
64 <AssemblyVersion>4.0.0.0</AssemblyVersion>
68 <AttributeName>System.Obsolete</AttributeName>
72 <ReturnType>System.Globalization.CultureTypes</ReturnType>
75 <since version=".NET 2.0" />
77 <attribution license="cc4" from="Microsoft" modified="false" />
78 <para>This member is deprecated; using this value with <see cref="M:System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes)" /> returns neutral and specific cultures shipped with the previous .NET Framework.</para>
82 <Member MemberName="InstalledWin32Cultures">
83 <MemberSignature Language="C#" Value="InstalledWin32Cultures" />
84 <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Globalization.CultureTypes InstalledWin32Cultures = int32(4)" />
85 <MemberType>Field</MemberType>
87 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
88 <AssemblyVersion>2.0.0.0</AssemblyVersion>
89 <AssemblyVersion>4.0.0.0</AssemblyVersion>
92 <ReturnType>System.Globalization.CultureTypes</ReturnType>
96 <remarks>To be added</remarks>
98 <attribution license="cc4" from="Microsoft" modified="false" />
99 <para>All cultures that are installed in the Windows operating system. Note that not all cultures supported by the .NET Framework are installed in the operating system.</para>
103 <Member MemberName="NeutralCultures">
104 <MemberSignature Language="C#" Value="NeutralCultures" />
105 <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Globalization.CultureTypes NeutralCultures = int32(1)" />
106 <MemberType>Field</MemberType>
108 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
109 <AssemblyVersion>2.0.0.0</AssemblyVersion>
110 <AssemblyVersion>4.0.0.0</AssemblyVersion>
113 <ReturnType>System.Globalization.CultureTypes</ReturnType>
118 <attribution license="cc4" from="Microsoft" modified="false" />
119 <para>Custom cultures can have any user-specified name, not just a two-letter code.</para>
120 <para>The invariant culture is included in the array of cultures returned by the <see cref="M:System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes)" /> method that specifies this value.</para>
123 <attribution license="cc4" from="Microsoft" modified="false" />
124 <para>Cultures that are associated with a language but are not specific to a country/region. The names of .NET Framework cultures consist of the lowercase two-letter code derived from ISO 639-1. For example: "en" (English) is a neutral culture. </para>
128 <Member MemberName="ReplacementCultures">
129 <MemberSignature Language="C#" Value="ReplacementCultures" />
130 <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Globalization.CultureTypes ReplacementCultures = int32(16)" />
131 <MemberType>Field</MemberType>
133 <AssemblyVersion>2.0.0.0</AssemblyVersion>
134 <AssemblyVersion>4.0.0.0</AssemblyVersion>
137 <ReturnType>System.Globalization.CultureTypes</ReturnType>
140 <since version=".NET 2.0" />
142 <attribution license="cc4" from="Microsoft" modified="false" />
143 <para>Custom cultures created by the user that replace cultures shipped with the .NET Framework.</para>
147 <Member MemberName="SpecificCultures">
148 <MemberSignature Language="C#" Value="SpecificCultures" />
149 <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Globalization.CultureTypes SpecificCultures = int32(2)" />
150 <MemberType>Field</MemberType>
152 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
153 <AssemblyVersion>2.0.0.0</AssemblyVersion>
154 <AssemblyVersion>4.0.0.0</AssemblyVersion>
157 <ReturnType>System.Globalization.CultureTypes</ReturnType>
162 <attribution license="cc4" from="Microsoft" modified="false" />
163 <para>Custom cultures can have any user-specified name, not just a standard-compliant name.</para>
166 <attribution license="cc4" from="Microsoft" modified="false" />
167 <para>Cultures that are specific to a country/region. The names of these cultures follow RFC 4646 (Windows Vista and later). The format is "<languagecode2>-<country/regioncode2>", where <languagecode2> is a lowercase two-letter code derived from ISO 639-1 and <country/regioncode2> is an uppercase two-letter code derived from ISO 3166. For example, "en-US" for English (United States) is a specific culture.</para>
171 <Member MemberName="UserCustomCulture">
172 <MemberSignature Language="C#" Value="UserCustomCulture" />
173 <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Globalization.CultureTypes UserCustomCulture = int32(8)" />
174 <MemberType>Field</MemberType>
176 <AssemblyVersion>2.0.0.0</AssemblyVersion>
177 <AssemblyVersion>4.0.0.0</AssemblyVersion>
180 <ReturnType>System.Globalization.CultureTypes</ReturnType>
183 <since version=".NET 2.0" />
185 <attribution license="cc4" from="Microsoft" modified="false" />
186 <para>Custom cultures created by the user.</para>
190 <Member MemberName="WindowsOnlyCultures">
191 <MemberSignature Language="C#" Value="WindowsOnlyCultures" />
192 <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Globalization.CultureTypes WindowsOnlyCultures = int32(32)" />
193 <MemberType>Field</MemberType>
195 <AssemblyVersion>2.0.0.0</AssemblyVersion>
196 <AssemblyVersion>4.0.0.0</AssemblyVersion>
200 <AttributeName>System.Obsolete</AttributeName>
204 <ReturnType>System.Globalization.CultureTypes</ReturnType>
207 <since version=".NET 2.0" />
209 <attribution license="cc4" from="Microsoft" modified="false" />
210 <para>This member is deprecated; the default behavior is set to return an empty list for backward compatibility reasons.</para>