Export (0) Print
Expand All
Expand Minimize

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.

Parameters

key

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

Community Additions

ADD
Show:
© 2014 Microsoft