StyleCollection.Contains(Style) Método

Definição

Determina se o estilo especificado está contido na coleção.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

Parâmetros

style
Style

O Style a ser localizado na coleção.The Style to locate within the collection.

Retornos

Boolean

true se o estilo estiver na coleção; caso contrário, false.true if the style is in the collection; otherwise, false.

Comentários

O Contains método determina a igualdade usando o Equals método nos Style objetos.The Contains method determines equality by using the Equals method on the Style objects.

Aplica-se a

Confira também