Språk

StyleCollection.Contains(Style) Metod

Definition

Avgör om det angivna formatet finns i samlingen.

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

Parametrar

style
Style

Att Style hitta i samlingen.

Returer

trueom formatet finns i samlingen; annars . false

Kommentarer

Metoden Contains bestämmer likhet med hjälp Equals av -metoden för objekten Style .

Gäller för

Se även