ZennoLab Assemblies Documentation
AcceptEncoding Property
Example 
Gets or sets acceptable encodings.
Syntax
string AcceptEncoding {get; set;}

Property Value

Type: System.String

The acceptable encodings of profile.

Example
The following example uses property AcceptEncoding of profile.
// get acceptable encodings
string acceptEncoding = project.Profile.AcceptEncoding;
 
// set acceptable encodings
project.Profile.AcceptEncoding = "gzip,deflate,sdch";
// get acceptable encodings
$acceptEncoding = $project->Profile->AcceptEncoding;
 
// set acceptable encodings
$project->Profile->AcceptEncoding = "gzip,deflate,sdch";
Requirements

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

See Also

Reference

IProfile Interface
IProfile Members

Send Feedback