Bewerken

Delen via


StyleCollection.Contains(Style) Method

Definition

Determines whether the specified style is contained within the collection.

public:
 bool Contains(System::Web::UI::WebControls::Style ^ style);
public bool Contains (System.Web.UI.WebControls.Style style);
member this.Contains : System.Web.UI.WebControls.Style -> bool
Public Function Contains (style As Style) As Boolean

Parameters

style
Style

The Style to locate within the collection.

Returns

true if the style is in the collection; otherwise, false.

Remarks

The Contains method determines equality by using the Equals method on the Style objects.

Applies to

See also