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.