UserLanguages Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the natural languages that are preferred for the response.
Namespace: System.Net
Assembly: System.Http (in System.Http.dll)
Syntax
'Declaration
Public ReadOnly Property UserLanguages As String()
public string[] UserLanguages { get; }
public:
property array<String^>^ UserLanguages {
array<String^>^ get ();
}
member UserLanguages : string[] with get
function get UserLanguages () : String[]
Property Value
Type: array<System. . :: . .String> [] () [] []
A String array that contains the languages specified in the request's AcceptLanguage header or nullNothingnullptrunita null reference (Nothing in Visual Basic) if the client request did not include an AcceptLanguage header.
Remarks
For a detailed description of the Accept-Language header, see RFC 2616 Section 14.4, available at http://www.rfc-editor.org.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.