編輯

共用方式為


GlobalizationSection.UICulture Property

Definition

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

public:
 property System::String ^ UICulture { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("uiCulture", DefaultValue="")]
public string UICulture { get; set; }
[<System.Configuration.ConfigurationProperty("uiCulture", DefaultValue="")>]
member this.UICulture : string with get, set
Public Property UICulture As String

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.

// Display UICulture property.
Console.WriteLine("UICulture: {0}",
  configSection.UICulture);
' 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

See also