GlobalizationSection.Culture Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value specifying the default culture for processing incoming Web requests.
public:
property System::String ^ Culture { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("culture", DefaultValue="")]
public string Culture { get; set; }
[<System.Configuration.ConfigurationProperty("culture", DefaultValue="")>]
member this.Culture : string with get, set
Public Property Culture As String
Property Value
The default culture for processing incoming Web requests.
- Attributes
Examples
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);
' Display Culture property.
Console.WriteLine("Culture: {0}", _
configSection.Culture)
Remarks
The Culture property returns the default culture for processing incoming Web requests.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για