HttpModuleCollection.Get 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从 .IHttpModule. 中返回单个HttpModuleCollection对象。
重载
| 名称 | 说明 |
|---|---|
| Get(Int32) |
从 .. 返回 IHttpModule 具有指定索引 HttpModuleCollection的对象。 |
| Get(String) |
从 .. 返回 IHttpModule 具有指定名称 HttpModuleCollection的对象。 |
Get(Int32)
从 .. 返回 IHttpModule 具有指定索引 HttpModuleCollection的对象。
public:
System::Web::IHttpModule ^ Get(int index);
public System.Web.IHttpModule Get(int index);
member this.Get : int -> System.Web.IHttpModule
Public Function Get (index As Integer) As IHttpModule
参数
- index
- Int32
要从集合返回的对象索引 IHttpModule 。
返回
由 IHttpModule 参数指定的 index 成员。
适用于
Get(String)
从 .. 返回 IHttpModule 具有指定名称 HttpModuleCollection的对象。
public:
System::Web::IHttpModule ^ Get(System::String ^ name);
public System.Web.IHttpModule Get(string name);
member this.Get : string -> System.Web.IHttpModule
Public Function Get (name As String) As IHttpModule
参数
- name
- String
要检索的项的键。
返回
由 IHttpModule 参数指定的 name 成员。