ZennoLab Assemblies Documentation
HTTPAccept Property
Example 
Gets or sets the content types that are acceptable.
Syntax
string HTTPAccept {get; set;}

Property Value

Type: System.String

The content types that are acceptable of profile.

Example
The following example uses property HTTPAccept of profile.
// get content types that are acceptable
string HTTPAccept = project.Profile.HTTPAccept;
 
// set acceptable languages for response
project.Profile.HTTPAccept = "text/plain";
// get content types that are acceptable
$HTTPAccept = $project->Profile->HTTPAccept;
 
// set acceptable languages for response
$project->Profile->HTTPAccept = "text/plain";
Requirements

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

See Also

Reference

IProfile Interface
IProfile Members

Send Feedback