HttpStaticObjectsCollectionBase.GetObject(String) 方法

定义

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

public:
 virtual System::Object ^ GetObject(System::String ^ name);
public virtual object GetObject (string name);
abstract member GetObject : string -> obj
override this.GetObject : string -> obj
Public Overridable Function GetObject (name As String) As Object

参数

name
String

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

返回

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

异常

始终。Always.

适用于