This documentation is archived and is not being maintained.

HttpCapabilitiesBase.Item Property

Gets the value of the specified browser capability. In C#, this property is the indexer for the class.

Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)

public virtual string this [
	string key
] { get; }
/** @property */
public String get_Item (String key)

Not applicable.



The name of the browser capability to retrieve.

Property Value

The browser capability with the specified key name.

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 property with a type of Object and an index type of String.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0