[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.
HttpCacheVary Class | HttpCacheVary Members | System.Web Namespace