ZennoLab Assemblies Documentation
AcceptLanguage Property
Example 
Gets or sets acceptable languages for response.
Syntax
string AcceptLanguage {get; set;}

Property Value

Type: System.String

The acceptable languages for response of profile.

Example
The following example uses property AcceptLanguage of profile.
// get acceptable languages for response
string acceptLanguage = project.Profile.AcceptLanguage;
 
// set acceptable languages for response
project.Profile.AcceptLanguage = "en-US";
// get acceptable languages for response
$acceptLanguage = $project->Profile->AcceptLanguage;
 
// set acceptable languages for response
$project->Profile->AcceptLanguage = "en-US";
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

IProfile Interface
IProfile Members

Send Feedback