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: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven

See Also

Reference

IProfile Interface
IProfile Members

Send Feedback