Retrieves or assigns a Boolean value that indicates whether the cache should vary by browser character set.
[Visual Basic] Public Property UserCharSet As Boolean [C#] public bool UserCharSet {get; set;} [C++] public: __property bool get_UserCharSet(); public: __property void set_UserCharSet(bool); [JScript] public function get UserCharSet() : Boolean; public function set UserCharSet(Boolean);
The default value is false. When set to true, this property causes the "UserCharSet" value to be included in the HTTP "Vary" header sent to the client browser.
[Visual Basic] <% 'This example performs some action only if the UserCharSet property 'is True. If Response.Cache.Vary.UserCharSet = True Then ... End If %>
HttpCacheVary Class | HttpCacheVary Members | System.Web Namespace