EventMappingSettingsCollection.Contains Method (String)
.NET Framework (current version)
Indicates whether the collection contains an EventMappingSettings object with the specified name.
Assembly: System.Web (in System.Web.dll)
Parameters
- name
-
Type:
System.String
The name of an EventMappingSettings object in the collection.
Return Value
Type: System.Booleantrue if the collection contains an EventMappingSettings object with the specified name; otherwise, false.
This method returns false if the specified name does not exist.
The following code example shows how to use the Contains method. This code example is part of a larger example provided for the HealthMonitoringSection class.
.NET Framework
Available since 2.0
Available since 2.0
Show: