System.Web.Configuration.EventMappingSettingsCollection.Contains Method

Indicates whether the collection contains an System.Web.Configuration.EventMappingSettings object with the specified name.

Syntax

public bool Contains (string name)

Parameters

name
The name of an System.Web.Configuration.EventMappingSettings object in the collection.

Returns

true if the collection contains an System.Web.Configuration.EventMappingSettings object with the specified name; otherwise, false.

Remarks

This method returns false if the specified name does not exist.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0