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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈