共用方式為


WebPartVerbCollection.Contains(WebPartVerb) 方法

定義

搜尋 Web 組件動詞集合,找出指定的 WebPartVerb 物件。

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

參數

value
WebPartVerb

要尋找的 WebPartVerb

傳回

Boolean

如果集合包含 Web 組件動詞,則為 true,否則為 false

備註

如需使用此方法的詳細資訊,請參閱其基底方法 CollectionBase.IList.Contains

適用於