HttpCacheVaryByContentEncodings.SetContentEncodings(String[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets an array of values which specify the content encodings to be used for varying the cache.
public:
void SetContentEncodings(cli::array <System::String ^> ^ contentEncodings);
public void SetContentEncodings (string[] contentEncodings);
member this.SetContentEncodings : string[] -> unit
Public Sub SetContentEncodings (contentEncodings As String())
Parameters
- contentEncodings
- String[]
An array of values which contain the content encodings for varying the cache.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.