This documentation is archived and is not being maintained.

HttpCapabilitiesBase.Item Property

Gets the value of the specified browser capability.

[C#] In C#, this property is the indexer for the HttpCapabilitiesBase class.

[Visual Basic]
Public Overridable Default ReadOnly Property Item( _
   ByVal key As String _
) As String
[C#]
public virtual string this[
 string key
] {get;}
[C++]
public: __property virtual String* get_Item(
 String* key
);
[JScript]
returnValue = HttpCapabilitiesBaseObject.Item(key);
-or-
returnValue = HttpCapabilitiesBaseObject(key);

[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 property whose type is Object and whose index type is String.

Arguments [JScript]

key
The name of the browser capability to retrieve.

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

key
The name of the browser capability to retrieve.

Property Value

The browser capability with the specified key name.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpCapabilitiesBase Class | HttpCapabilitiesBase Members | System.Web.Configuration Namespace

Show: