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.Item

[C#] In C#, this member is the indexer for the HttpCacheVary class.

[Visual Basic]
Public Default Property Item( _
   ByVal header As String _
) As Boolean
[C#]
public bool this[
   string header
] {get; set;}
[C++]
public: __property bool get_Item(
   String* header
);
public: __property void set_Item(
   String* header,
   bool
);
[JScript]
returnValue = HttpCacheVaryObject.Item(header);
HttpCacheVaryObject.Item(header) = returnValue;
-or-
returnValue = HttpCacheVaryObject(header);
HttpCacheVaryObject(header) = returnValue;

[JScript] In JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed Item property whose type is Object and whose index type is String.

Arguments [JScript]

header
Name of the custom header.

Parameters [Visual Basic, C#, C++]

header
Name of the custom header.

See Also

HttpCacheVary Class | HttpCacheVary Members | System.Web Namespace