HttpCacheVaryByContentEncodings::SetContentEncodings Method (array<String^>^)

 

Sets an array of values which specify the content encodings to be used for varying the cache.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
void SetContentEncodings(
	array<String^>^ contentEncodings
)

Parameters

contentEncodings
Type: array<System::String^>^

An array of values which contain the content encodings for varying the cache.

.NET Framework
Available since 4.6.2
Return to top
Show: