Item Property (Int32)
Collapse the table of content
Expand the table of content

EventMappingSettingsCollection.Item Property (Int32)

 

Gets or sets the EventMappingSettings object at the specified index location.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

public EventMappingSettings this[
	int index
] { get; set; }

Parameters

index
Type: System.Int32

A valid index of an EventMappingSettings object in the collection.

Property Value

Type: System.Web.Configuration.EventMappingSettings

The EventMappingSettings object at the specified index, or null if there is no object at that index.

The following code example shows how to use the Item method. This code example is part of a larger example provided for the HealthMonitoringSection class.

eventMappingSetting = healthMonitoringSection.EventMappings[i];

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft