RequestCulture Class

Definition

Details about the culture for an HttpRequest.

public ref class RequestCulture
public class RequestCulture
type RequestCulture = class
Public Class RequestCulture
Inheritance
RequestCulture

Constructors

RequestCulture(CultureInfo)

Creates a new RequestCulture object with its Culture and UICulture properties set to the same CultureInfo value.

RequestCulture(CultureInfo, CultureInfo)

Creates a new RequestCulture object with its Culture and UICulture properties set to the respective CultureInfo values provided.

RequestCulture(String)

Creates a new RequestCulture object with its Culture and UICulture properties set to the same CultureInfo value.

RequestCulture(String, String)

Creates a new RequestCulture object with its Culture and UICulture properties set to the respective CultureInfo values provided.

Properties

Culture

Gets the CultureInfo for the request to be used for formatting.

UICulture

Gets the CultureInfo for the request to be used for text, i.e. language;

Applies to