Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
515 lines (460 sloc) 33.1 KB
<Type Name="GlobalizationSection" FullName="System.Web.Configuration.GlobalizationSection">
<TypeSignature Language="C#" Value="public sealed class GlobalizationSection : System.Configuration.ConfigurationSection" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed GlobalizationSection extends System.Configuration.ConfigurationSection" />
<TypeSignature Language="DocId" Value="T:System.Web.Configuration.GlobalizationSection" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class GlobalizationSection&#xA;Inherits ConfigurationSection" />
<TypeSignature Language="C++ CLI" Value="public ref class GlobalizationSection sealed : System::Configuration::ConfigurationSection" />
<TypeSignature Language="F#" Value="type GlobalizationSection = class&#xA; inherit ConfigurationSection" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Configuration.ConfigurationSection</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Defines configuration settings that are used to support the globalization infrastructure of Web applications. This class cannot be inherited.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.Configuration.GlobalizationSection> class provides a way to programmatically access and modify the content of the `globalization` section of the configuration file.
## Examples
This example demonstrates how to specify values declaratively for several attributes of the `globalization` section, which can also be accessed as members of the <xref:System.Web.Configuration.GlobalizationSection> class.
The following configuration file example shows how to specify values declaratively for the `globalization` section.
```
<system.web>
<globalization
requestEncoding="utf-8"
responseEncoding="utf-8"/>
</system.web>
```
The following code example demonstrates how to use the <xref:System.Web.Configuration.GlobalizationSection> class.
[!code-csharp[System.Web.Configuration.GlobalizationSection#1](~/samples/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.GlobalizationSection/CS/GlobalizationSection.cs#1)]
[!code-vb[System.Web.Configuration.GlobalizationSection#1](~/samples/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.GlobalizationSection/VB/GlobalizationSection.vb#1)]
]]></format>
</remarks>
<altmember cref="N:System.Globalization" />
<altmember cref="T:System.Configuration.ConfigurationSection" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public GlobalizationSection ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.Configuration.GlobalizationSection.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; GlobalizationSection();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Web.Configuration.GlobalizationSection" /> class by using default settings.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.Configuration.GlobalizationSection.%23ctor%2A> constructor is not intended to be used directly from your code. It is called by the ASP.NET configuration system. You obtain an instance of the <xref:System.Web.Configuration.GlobalizationSection> class by using the <xref:System.Configuration.Configuration.GetSection%2A> method.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Culture">
<MemberSignature Language="C#" Value="public string Culture { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Culture" />
<MemberSignature Language="DocId" Value="P:System.Web.Configuration.GlobalizationSection.Culture" />
<MemberSignature Language="VB.NET" Value="Public Property Culture As String" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::String ^ Culture { System::String ^ get(); void set(System::String ^ value); };" />
<MemberSignature Language="F#" Value="member this.Culture : string with get, set" Usage="System.Web.Configuration.GlobalizationSection.Culture" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Configuration.ConfigurationProperty("culture", DefaultValue=Mono.Cecil.CustomAttributeArgument)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value specifying the default culture for processing incoming Web requests.</summary>
<value>The default culture for processing incoming Web requests.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.Configuration.GlobalizationSection.Culture%2A> property returns the default culture for processing incoming Web requests.
## Examples
The following code example demonstrates how to use the <xref:System.Web.Configuration.GlobalizationSection.Culture%2A> property. This code example is part of a larger example provided for the <xref:System.Web.Configuration.GlobalizationSection> class.
[!code-csharp[System.Web.Configuration.GlobalizationSection#2](~/samples/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.GlobalizationSection/CS/GlobalizationSection.cs#2)]
[!code-vb[System.Web.Configuration.GlobalizationSection#2](~/samples/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.GlobalizationSection/VB/GlobalizationSection.vb#2)]
]]></format>
</remarks>
<altmember cref="T:System.Globalization.CultureInfo" />
</Docs>
</Member>
<Member MemberName="EnableBestFitResponseEncoding">
<MemberSignature Language="C#" Value="public bool EnableBestFitResponseEncoding { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool EnableBestFitResponseEncoding" />
<MemberSignature Language="DocId" Value="P:System.Web.Configuration.GlobalizationSection.EnableBestFitResponseEncoding" />
<MemberSignature Language="VB.NET" Value="Public Property EnableBestFitResponseEncoding As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property bool EnableBestFitResponseEncoding { bool get(); void set(bool value); };" />
<MemberSignature Language="F#" Value="member this.EnableBestFitResponseEncoding : bool with get, set" Usage="System.Web.Configuration.GlobalizationSection.EnableBestFitResponseEncoding" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Configuration.ConfigurationProperty("enableBestFitResponseEncoding", DefaultValue=Mono.Cecil.CustomAttributeArgument)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value indicating whether the best-fit character encoding for a response is enabled.</summary>
<value>
<see langword="true" /> if the best-fit character encoding for a response is enabled; otherwise, <see langword="false" />. The default is <see langword="false" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="EnableClientBasedCulture">
<MemberSignature Language="C#" Value="public bool EnableClientBasedCulture { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool EnableClientBasedCulture" />
<MemberSignature Language="DocId" Value="P:System.Web.Configuration.GlobalizationSection.EnableClientBasedCulture" />
<MemberSignature Language="VB.NET" Value="Public Property EnableClientBasedCulture As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property bool EnableClientBasedCulture { bool get(); void set(bool value); };" />
<MemberSignature Language="F#" Value="member this.EnableClientBasedCulture : bool with get, set" Usage="System.Web.Configuration.GlobalizationSection.EnableClientBasedCulture" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Configuration.ConfigurationProperty("enableClientBasedCulture", DefaultValue=Mono.Cecil.CustomAttributeArgument)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value indicating whether the <see cref="P:System.Web.Configuration.GlobalizationSection.Culture" /> and <see cref="P:System.Web.Configuration.GlobalizationSection.UICulture" /> properties should be based on the <see cref="F:System.Net.HttpRequestHeader.AcceptLanguage" /> header field value that is sent by the client browser.</summary>
<value>
<see langword="true" /> if the <see cref="P:System.Web.Configuration.GlobalizationSection.Culture" /> and <see cref="P:System.Web.Configuration.GlobalizationSection.UICulture" /> should be based on the <see cref="F:System.Net.HttpRequestHeader.AcceptLanguage" /> header field value sent by the client browser; otherwise, <see langword="false" />. The default is <see langword="false" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When the <xref:System.Web.Configuration.GlobalizationSection.EnableClientBasedCulture%2A> property is enabled, the <xref:System.Web.Configuration.GlobalizationSection.Culture%2A> and <xref:System.Web.Configuration.GlobalizationSection.UICulture%2A> properties are based on the <xref:System.Net.HttpRequestHeader.AcceptLanguage> header field value that is sent by the client browser. If the <xref:System.Net.HttpRequestHeader.AcceptLanguage> header value cannot be mapped to a specific culture, the <xref:System.Web.Configuration.GlobalizationSection.Culture%2A> and <xref:System.Web.Configuration.GlobalizationSection.UICulture%2A> values are used. The default value is `false`.
## Examples
The following code example demonstrates how to use the <xref:System.Web.Configuration.GlobalizationSection.EnableClientBasedCulture%2A> property. This code example is part of a larger example provided for the <xref:System.Web.Configuration.GlobalizationSection> class.
[!code-csharp[System.Web.Configuration.GlobalizationSection#3](~/samples/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.GlobalizationSection/CS/GlobalizationSection.cs#3)]
[!code-vb[System.Web.Configuration.GlobalizationSection#3](~/samples/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.GlobalizationSection/VB/GlobalizationSection.vb#3)]
]]></format>
</remarks>
<altmember cref="T:System.Net.HttpRequestHeader" />
</Docs>
</Member>
<Member MemberName="FileEncoding">
<MemberSignature Language="C#" Value="public System.Text.Encoding FileEncoding { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Text.Encoding FileEncoding" />
<MemberSignature Language="DocId" Value="P:System.Web.Configuration.GlobalizationSection.FileEncoding" />
<MemberSignature Language="VB.NET" Value="Public Property FileEncoding As Encoding" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Text::Encoding ^ FileEncoding { System::Text::Encoding ^ get(); void set(System::Text::Encoding ^ value); };" />
<MemberSignature Language="F#" Value="member this.FileEncoding : System.Text.Encoding with get, set" Usage="System.Web.Configuration.GlobalizationSection.FileEncoding" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Configuration.ConfigurationProperty("fileEncoding")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Text.Encoding</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value specifying the default encoding for .aspx, .asmx, and .asax file parsing.</summary>
<value>The default encoding value.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.Configuration.GlobalizationSection.FileEncoding%2A> property specifies the default encoding that is used to interpret the data that is included in the .aspx, .asmx, and .asax file types. If the file encoding is specified in the Web.config file, the actual file must be saved in the same encoding. Unicode files and UTF-8 files that are saved with the byte order mark prefix <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.IsByteOrdered%2A> property are automatically recognized regardless of the value of the <xref:System.Web.Configuration.GlobalizationSection.FileEncoding%2A>.
If the <xref:System.Web.Configuration.GlobalizationSection.FileEncoding%2A> property setting for the server or application is configured to use UTF-16, and if UTF-16 is not the encoding that is used for an .aspx page in the scope of the configuration file, the output that is sent to the client browser is corrupted. For this reason, ensure that the configured <xref:System.Web.Configuration.GlobalizationSection.FileEncoding%2A> value matches the encoding that is used in the .aspx page.
## Examples
The following code example demonstrates how to use the <xref:System.Web.Configuration.GlobalizationSection.FileEncoding%2A> property. This code example is part of a larger example provided for the <xref:System.Web.Configuration.GlobalizationSection> class.
[!code-csharp[System.Web.Configuration.GlobalizationSection#4](~/samples/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.GlobalizationSection/CS/GlobalizationSection.cs#4)]
[!code-vb[System.Web.Configuration.GlobalizationSection#4](~/samples/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.GlobalizationSection/VB/GlobalizationSection.vb#4)]
]]></format>
</remarks>
<altmember cref="P:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.IsByteOrdered" />
</Docs>
</Member>
<Member MemberName="PostDeserialize">
<MemberSignature Language="C#" Value="protected override void PostDeserialize ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void PostDeserialize() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.Configuration.GlobalizationSection.PostDeserialize" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub PostDeserialize ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void PostDeserialize();" />
<MemberSignature Language="F#" Value="override this.PostDeserialize : unit -&gt; unit" Usage="globalizationSection.PostDeserialize " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="PreSerialize">
<MemberSignature Language="C#" Value="protected override void PreSerialize (System.Xml.XmlWriter writer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void PreSerialize(class System.Xml.XmlWriter writer) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.Configuration.GlobalizationSection.PreSerialize(System.Xml.XmlWriter)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub PreSerialize (writer As XmlWriter)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void PreSerialize(System::Xml::XmlWriter ^ writer);" />
<MemberSignature Language="F#" Value="override this.PreSerialize : System.Xml.XmlWriter -&gt; unit" Usage="globalizationSection.PreSerialize writer" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.Xml.XmlWriter" />
</Parameters>
<Docs>
<param name="writer">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Properties">
<MemberSignature Language="C#" Value="protected override System.Configuration.ConfigurationPropertyCollection Properties { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Configuration.ConfigurationPropertyCollection Properties" />
<MemberSignature Language="DocId" Value="P:System.Web.Configuration.GlobalizationSection.Properties" />
<MemberSignature Language="VB.NET" Value="Protected Overrides ReadOnly Property Properties As ConfigurationPropertyCollection" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual property System::Configuration::ConfigurationPropertyCollection ^ Properties { System::Configuration::ConfigurationPropertyCollection ^ get(); };" />
<MemberSignature Language="F#" Value="member this.Properties : System.Configuration.ConfigurationPropertyCollection" Usage="System.Web.Configuration.GlobalizationSection.Properties" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Configuration.ConfigurationPropertyCollection</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="RequestEncoding">
<MemberSignature Language="C#" Value="public System.Text.Encoding RequestEncoding { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Text.Encoding RequestEncoding" />
<MemberSignature Language="DocId" Value="P:System.Web.Configuration.GlobalizationSection.RequestEncoding" />
<MemberSignature Language="VB.NET" Value="Public Property RequestEncoding As Encoding" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Text::Encoding ^ RequestEncoding { System::Text::Encoding ^ get(); void set(System::Text::Encoding ^ value); };" />
<MemberSignature Language="F#" Value="member this.RequestEncoding : System.Text.Encoding with get, set" Usage="System.Web.Configuration.GlobalizationSection.RequestEncoding" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Configuration.ConfigurationProperty("requestEncoding", DefaultValue=Mono.Cecil.CustomAttributeArgument)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Text.Encoding</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value specifying the content encoding of HTTP requests.</summary>
<value>The content encoding of HTTP requests. The default is UTF-8.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.Configuration.GlobalizationSection.RequestEncoding%2A> property specifies the assumed encoding of each incoming HTTP request, including posted data and query-string data. If the request comes with a request header containing a <xref:System.Net.HttpRequestHeader.ContentType> field, the <xref:System.Net.HttpRequestHeader.AcceptCharset> field of the request header overrides the <xref:System.Web.Configuration.GlobalizationSection.RequestEncoding%2A> of the configuration.
The default encoding is UTF-8, specified in the `globalization` section of the Machine.config file that was created when the .NET Framework was installed. If the <xref:System.Web.Configuration.GlobalizationSection.RequestEncoding%2A> property is not specified in the Machine.config or Web.config file, encoding defaults to the `Regional Options` locale setting on the computer. For single-server applications, the <xref:System.Web.Configuration.GlobalizationSection.RequestEncoding%2A> and <xref:System.Web.Configuration.GlobalizationSection.ResponseEncoding%2A> properties should be the same. When using multiple server applications where the default server encodings are different, you can use local Web.config files to vary the <xref:System.Web.Configuration.GlobalizationSection.RequestEncoding%2A> and <xref:System.Web.Configuration.GlobalizationSection.ResponseEncoding%2A> properties.
## Examples
The following code example demonstrates how to use the <xref:System.Web.Configuration.GlobalizationSection.RequestEncoding%2A> property. This code example is part of a larger example provided for the <xref:System.Web.Configuration.GlobalizationSection> class.
[!code-csharp[System.Web.Configuration.GlobalizationSection#5](~/samples/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.GlobalizationSection/CS/GlobalizationSection.cs#5)]
[!code-vb[System.Web.Configuration.GlobalizationSection#5](~/samples/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.GlobalizationSection/VB/GlobalizationSection.vb#5)]
]]></format>
</remarks>
<altmember cref="T:System.Net.HttpRequestHeader" />
</Docs>
</Member>
<Member MemberName="ResourceProviderFactoryType">
<MemberSignature Language="C#" Value="public string ResourceProviderFactoryType { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string ResourceProviderFactoryType" />
<MemberSignature Language="DocId" Value="P:System.Web.Configuration.GlobalizationSection.ResourceProviderFactoryType" />
<MemberSignature Language="VB.NET" Value="Public Property ResourceProviderFactoryType As String" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::String ^ ResourceProviderFactoryType { System::String ^ get(); void set(System::String ^ value); };" />
<MemberSignature Language="F#" Value="member this.ResourceProviderFactoryType : string with get, set" Usage="System.Web.Configuration.GlobalizationSection.ResourceProviderFactoryType" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Configuration.ConfigurationProperty("resourceProviderFactoryType", DefaultValue=Mono.Cecil.CustomAttributeArgument)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the factory type of the resource provider.</summary>
<value>The factory type of the resource provider.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ResponseEncoding">
<MemberSignature Language="C#" Value="public System.Text.Encoding ResponseEncoding { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Text.Encoding ResponseEncoding" />
<MemberSignature Language="DocId" Value="P:System.Web.Configuration.GlobalizationSection.ResponseEncoding" />
<MemberSignature Language="VB.NET" Value="Public Property ResponseEncoding As Encoding" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Text::Encoding ^ ResponseEncoding { System::Text::Encoding ^ get(); void set(System::Text::Encoding ^ value); };" />
<MemberSignature Language="F#" Value="member this.ResponseEncoding : System.Text.Encoding with get, set" Usage="System.Web.Configuration.GlobalizationSection.ResponseEncoding" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Configuration.ConfigurationProperty("responseEncoding", DefaultValue=Mono.Cecil.CustomAttributeArgument)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Text.Encoding</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value specifying the content encoding of HTTP responses.</summary>
<value>The content encoding of HTTP responses. The default is UTF-8.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.Configuration.GlobalizationSection.ResponseEncoding%2A> property gets or sets a value specifying the content encoding of HTTP responses. The default encoding is UTF-8.
## Examples
The following code example demonstrates how to use the <xref:System.Web.Configuration.GlobalizationSection.ResponseEncoding%2A> property. This code example is part of a larger example provided for the <xref:System.Web.Configuration.GlobalizationSection> class.
[!code-csharp[System.Web.Configuration.GlobalizationSection#6](~/samples/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.GlobalizationSection/CS/GlobalizationSection.cs#6)]
[!code-vb[System.Web.Configuration.GlobalizationSection#6](~/samples/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.GlobalizationSection/VB/GlobalizationSection.vb#6)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="ResponseHeaderEncoding">
<MemberSignature Language="C#" Value="public System.Text.Encoding ResponseHeaderEncoding { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Text.Encoding ResponseHeaderEncoding" />
<MemberSignature Language="DocId" Value="P:System.Web.Configuration.GlobalizationSection.ResponseHeaderEncoding" />
<MemberSignature Language="VB.NET" Value="Public Property ResponseHeaderEncoding As Encoding" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Text::Encoding ^ ResponseHeaderEncoding { System::Text::Encoding ^ get(); void set(System::Text::Encoding ^ value); };" />
<MemberSignature Language="F#" Value="member this.ResponseHeaderEncoding : System.Text.Encoding with get, set" Usage="System.Web.Configuration.GlobalizationSection.ResponseHeaderEncoding" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Configuration.ConfigurationProperty("responseHeaderEncoding", DefaultValue=Mono.Cecil.CustomAttributeArgument)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Text.Encoding</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value specifying the header encoding of HTTP responses.</summary>
<value>The header encoding of HTTP responses. The default is UTF-8.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.Configuration.GlobalizationSection.ResponseHeaderEncoding%2A> property gets or sets a value specifying the header encoding of HTTP responses. The default encoding is UTF-8.
## Examples
The following code example demonstrates how to use the <xref:System.Web.Configuration.GlobalizationSection.ResponseHeaderEncoding%2A> property. This code example is part of a larger example provided for the <xref:System.Web.Configuration.GlobalizationSection> class.
[!code-csharp[System.Web.Configuration.GlobalizationSection#7](~/samples/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.GlobalizationSection/CS/GlobalizationSection.cs#7)]
[!code-vb[System.Web.Configuration.GlobalizationSection#7](~/samples/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.GlobalizationSection/VB/GlobalizationSection.vb#7)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="UICulture">
<MemberSignature Language="C#" Value="public string UICulture { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string UICulture" />
<MemberSignature Language="DocId" Value="P:System.Web.Configuration.GlobalizationSection.UICulture" />
<MemberSignature Language="VB.NET" Value="Public Property UICulture As String" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::String ^ UICulture { System::String ^ get(); void set(System::String ^ value); };" />
<MemberSignature Language="F#" Value="member this.UICulture : string with get, set" Usage="System.Web.Configuration.GlobalizationSection.UICulture" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Configuration.ConfigurationProperty("uiCulture", DefaultValue=Mono.Cecil.CustomAttributeArgument)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value specifying the default culture for processing locale-dependent resource searches.</summary>
<value>The default culture for processing locale-dependent resource searches.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.Configuration.GlobalizationSection.UICulture%2A> property specifies the default culture for processing locale-dependent resource searches.
## Examples
The following code example demonstrates how to use the <xref:System.Web.Configuration.GlobalizationSection.UICulture%2A> property. This code example is part of a larger example provided for the <xref:System.Web.Configuration.GlobalizationSection> class.
[!code-csharp[System.Web.Configuration.GlobalizationSection#8](~/samples/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.GlobalizationSection/CS/GlobalizationSection.cs#8)]
[!code-vb[System.Web.Configuration.GlobalizationSection#8](~/samples/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.GlobalizationSection/VB/GlobalizationSection.vb#8)]
]]></format>
</remarks>
<altmember cref="T:System.Globalization.CultureInfo" />
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.