HttpCapabilitiesBase.Item[String] Свойство
Определение
Получает значение заданной возможности браузера.Gets the value of the specified browser capability. В C# данное свойство является индексатором для класса.In C#, this property is the indexer for the class.
public:
virtual property System::String ^ default[System::String ^] { System::String ^ get(System::String ^ key); };
public virtual string this[string key] { get; }
member this.Item(string) : string
Default Public Overridable ReadOnly Property Item(key As String) As String
Параметры
- key
- String
Имя извлекаемой возможности браузера.The name of the browser capability to retrieve.
Значение свойства
Возможность браузера с указанным именем ключа.The browser capability with the specified key name.
Комментарии
В языке JScript можно использовать заданные по умолчанию индексированные свойства, определенные типом, но нельзя явно определять свои собственные.In JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. Однако при указании атрибута expando
в классе автоматически предоставляется индексированное свойство по умолчанию с типом Object
и типом индекса String
.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
.