System.Web.Configuration.RuleSettingsCollection.Contains Method

Returns true if the collection contains a System.Web.Configuration.RuleSettings object with the specified name.

Syntax

public bool Contains (string name)

Parameters

name
The name of a System.Web.Configuration.RuleSettings object in the collection.

Returns

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

Remarks

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