HttpStaticObjectsCollectionBase.Item[String] 属性

定义

当在派生类中重写时,获取集合中具有指定名称的对象。When overridden in a derived class, gets the object that has the specified name from the collection.

public:
 virtual property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ name); };
public virtual object this[string name] { get; }
member this.Item(string) : obj
Default Public Overridable ReadOnly Property Item(name As String) As Object

参数

name
String

要获取的对象名(不区分大小写)。The case-insensitive name of the object to get.

属性值

name 指定的对象。The object that is specified by name.

异常

始终。Always.

适用于