System.Web.UI.Design.DesignerAutoFormatCollection.Contains Method

Determines whether the specified format is contained within the collection.

Syntax

public bool Contains (DesignerAutoFormat format)

Parameters

format
An instance of System.Web.UI.Design.DesignerAutoFormat.

Returns

true, if the specified format is in the collection; otherwise, false.

Remarks

The DesignerAutoFormatCollection.Contains(DesignerAutoFormat) method determines equality by using the object.Equals(object) method on the System.Web.UI.Design.DesignerAutoFormat objects that are being compared.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0