HttpModuleCollection.Item[] 屬性

定義

從 中取得指定的 IHttpModule 物件 HttpModuleCollection

多載

名稱 Description
Item[Int32]

從 中取得 IHttpModule 具有指定數值索引 HttpModuleCollection的物件。

Item[String]

從 中取得 IHttpModule 指定名稱 HttpModuleCollection的物件。

Item[Int32]

從 中取得 IHttpModule 具有指定數值索引 HttpModuleCollection的物件。

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]

從 中取得 IHttpModule 指定名稱 HttpModuleCollection的物件。

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物件模組。

適用於