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

参数

format
DesignerAutoFormat

DesignerAutoFormat 的一个实例。

返回

Boolean

如果集合中存在指定的格式,则为 true;否则为 false

注解

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

适用于

另请参阅