Gets or sets acceptable encodings.
Syntax
| C# | |
|---|
string AcceptEncoding {get; set;} |
Property Value
Type: System.String
The acceptable encodings of profile.
Example
The following example uses property
AcceptEncoding of profile.
| C# | Copy Code |
|---|
// get acceptable encodings
string acceptEncoding = project.Profile.AcceptEncoding;
// set acceptable encodings
project.Profile.AcceptEncoding = "gzip,deflate,sdch"; |
| PHP | Copy Code |
|---|
// get acceptable encodings
$acceptEncoding = $project->Profile->AcceptEncoding;
// set acceptable encodings
$project->Profile->AcceptEncoding = "gzip,deflate,sdch"; |
Requirements
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven
See Also