DesignerAutoFormatCollection::Contains Method (DesignerAutoFormat^)

 

Determines whether the specified format is contained within the collection.

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

public:
bool Contains(
	DesignerAutoFormat^ format
)

Parameters

format
Type: System.Web.UI.Design::DesignerAutoFormat^

An instance of DesignerAutoFormat.

Return Value

Type: System::Boolean

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

The Contains method determines equality by using the Equals method on the DesignerAutoFormat objects that are being compared.

.NET Framework
Available since 2.0
Return to top
Show: