HttpModuleCollection.Get 方法

定義

從 中回傳一個單一IHttpModule物件。HttpModuleCollection

多載

名稱 Description
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成員。

適用於