HttpModuleCollection.Get Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an individual IHttpModule object from the HttpModuleCollection.
Overloads
Get(Int32) |
Returns the IHttpModule object with the specified index from the HttpModuleCollection. |
Get(String) |
Returns the IHttpModule object with the specified name from the HttpModuleCollection. |
Get(Int32)
Returns the IHttpModule object with the specified index from the 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
Parameters
- index
- Int32
The index of the IHttpModule object to return from the collection.
Returns
The IHttpModule member specified by the index
parameter.
Applies to
Get(String)
Returns the IHttpModule object with the specified name from the 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
Parameters
- name
- String
The key of the item to be retrieved.
Returns
The IHttpModule member specified by the name
parameter.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應