NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HttpCacheVary.UserCharSet

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);

Property Value

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.

Example

[Visual Basic]
<%
'This example performs some action only if the UserCharSet
property 
'is True.
If Response.Cache.Vary.UserCharSet = True Then
   ...
End If
%>

See Also

HttpCacheVary Class | HttpCacheVary Members | System.Web Namespace