閱讀英文 編輯

共用方式為


GlobalizationSection.UICulture Property

Definition

Gets or sets a value specifying the default culture for processing locale-dependent resource searches.

C#
[System.Configuration.ConfigurationProperty("uiCulture", DefaultValue="")]
public string UICulture { get; set; }

Property Value

The default culture for processing locale-dependent resource searches.

Attributes

Examples

The following code example demonstrates how to use the UICulture property. This code example is part of a larger example provided for the GlobalizationSection class.

C#
// Display UICulture property.
Console.WriteLine("UICulture: {0}",
  configSection.UICulture);

Remarks

The UICulture property specifies the default culture for processing locale-dependent resource searches.

Applies to

產品 版本
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also