HttpModuleCollection.Item[] 属性

定义

IHttpModule.. 中获取指定的HttpModuleCollection对象。

重载

名称 说明
Item[Int32]

IHttpModuleHttpModuleCollection中获取具有指定数值索引的对象。

Item[String]

IHttpModuleHttpModuleCollection中获取具有指定名称的对象。

Item[Int32]

IHttpModuleHttpModuleCollection中获取具有指定数值索引的对象。

public:
 property System::Web::IHttpModule ^ default[int] { System::Web::IHttpModule ^ get(int index); };
public System.Web.IHttpModule this[int index] { get; }
member this.Item(int) : System.Web.IHttpModule
Default Public ReadOnly Property Item(index As Integer) As IHttpModule

参数

index
Int32

要从集合中检索的对象索引 IHttpModule

属性值

参数 IHttpModule 指定的 index 对象模块。

适用于

Item[String]

IHttpModuleHttpModuleCollection中获取具有指定名称的对象。

public:
 property System::Web::IHttpModule ^ default[System::String ^] { System::Web::IHttpModule ^ get(System::String ^ name); };
public System.Web.IHttpModule this[string name] { get; }
member this.Item(string) : System.Web.IHttpModule
Default Public ReadOnly Property Item(name As String) As IHttpModule

参数

name
String

要检索的项的键。

属性值

参数 IHttpModule 指定的 name 对象模块。

适用于