ZennoLab Assemblies Documentation
AcceptEncoding Property
See Also  Example Send Feedback
ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel.Collections Namespace > IProfile Interface : AcceptEncoding Property

Glossary Item Box

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";
PHPCopy 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

© 2013 All Rights Reserved.