语言

DesignerAutoFormatCollection.Contains(DesignerAutoFormat) 方法

定义

确定指定的格式是否包含在集合中。

public:
 bool Contains(System::Web::UI::Design::DesignerAutoFormat ^ format);
public bool Contains(System.Web.UI.Design.DesignerAutoFormat format);
member this.Contains : System.Web.UI.Design.DesignerAutoFormat -> bool
Public Function Contains (format As DesignerAutoFormat) As Boolean

参数

返回

true(如果指定的格式位于集合中);否则,为 false.

注解

该方法 Contains 通过使用 Equals 所比较对象的方法 DesignerAutoFormat 来确定相等性。

适用于

另请参阅