Redigera

Dela via


HttpModuleCollection.Item[] Property

Definition

Gets the specified IHttpModule object from the HttpModuleCollection.

Overloads

Item[Int32]

Gets the IHttpModule object with the specified numerical index from the HttpModuleCollection.

Item[String]

Gets the IHttpModule object with the specified name from the HttpModuleCollection.

Item[Int32]

Gets the IHttpModule object with the specified numerical index from the HttpModuleCollection.

public:
 property System::Web::IHttpModule ^ default[int] { System::Web::IHttpModule ^ get(int index); };
public System.Web.IHttpModule this[int index] { get; }
member this.Item(int) : System.Web.IHttpModule
Default Public ReadOnly Property Item(index As Integer) As IHttpModule

Parameters

index
Int32

The index of the IHttpModule object to retrieve from the collection.

Property Value

The IHttpModule object module specified by the index parameter.

Applies to

Item[String]

Gets the IHttpModule object with the specified name from the HttpModuleCollection.

public:
 property System::Web::IHttpModule ^ default[System::String ^] { System::Web::IHttpModule ^ get(System::String ^ name); };
public System.Web.IHttpModule this[string name] { get; }
member this.Item(string) : System.Web.IHttpModule
Default Public ReadOnly Property Item(name As String) As IHttpModule

Parameters

name
String

The key of the item to be retrieved.

Property Value

The IHttpModule object module specified by the name parameter.

Applies to