GlobalizationSection.Culture Property

 

Gets or sets a value specifying the default culture for processing incoming Web requests.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

<ConfigurationPropertyAttribute("culture", DefaultValue := "")>
Public Property Culture As String

Property Value

Type: System.String

The default culture for processing incoming Web requests.

The Culture property returns the default culture for processing incoming Web requests.

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

' Display Culture property.
Console.WriteLine("Culture: {0}", _
 configSection.Culture)

.NET Framework
Available since 2.0
Return to top
Show: