HttpModuleCollection.Get 方法

定義

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 參數所指定的 IHttpModule 成員。

適用於

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 參數所指定的 IHttpModule 成員。

適用於