WebPartVerbCollection 建構函式

定義

初始化 WebPartVerbCollection 類別的新執行個體。

多載

WebPartVerbCollection()

初始化 WebPartVerbCollection 類別的新執行個體。

WebPartVerbCollection(ICollection)

使用指定的集合,初始化 WebPartVerbCollection 類別的新執行個體。

WebPartVerbCollection(WebPartVerbCollection, ICollection)

使用指定的集合,初始化 WebPartVerbCollection 類別的新執行個體。

WebPartVerbCollection()

初始化 WebPartVerbCollection 類別的新執行個體。

public:
 WebPartVerbCollection();
public WebPartVerbCollection ();
Public Sub New ()

備註

這個建構函式會建立空 WebPartVerbCollection 的物件。 若要使用現有的 Web 元件動詞集合建立 的新實例 WebPartVerbCollection ,您可以使用 WebPartVerbCollection(ICollection)

適用於

WebPartVerbCollection(ICollection)

使用指定的集合,初始化 WebPartVerbCollection 類別的新執行個體。

public:
 WebPartVerbCollection(System::Collections::ICollection ^ verbs);
public WebPartVerbCollection (System.Collections.ICollection verbs);
new System.Web.UI.WebControls.WebParts.WebPartVerbCollection : System.Collections.ICollection -> System.Web.UI.WebControls.WebParts.WebPartVerbCollection
Public Sub New (verbs As ICollection)

參數

verbs
ICollection

衍生自 ICollection 的物件,其中包含一組 Web 組件動詞。

備註

這個建構函式會使用指定的動詞集合建立 的 WebPartVerbCollection 實例。 這個集合可以是任何衍生自 ICollection 的物件,其中包含一組網頁元件動詞命令。

適用於

WebPartVerbCollection(WebPartVerbCollection, ICollection)

使用指定的集合,初始化 WebPartVerbCollection 類別的新執行個體。

public:
 WebPartVerbCollection(System::Web::UI::WebControls::WebParts::WebPartVerbCollection ^ existingVerbs, System::Collections::ICollection ^ verbs);
public WebPartVerbCollection (System.Web.UI.WebControls.WebParts.WebPartVerbCollection existingVerbs, System.Collections.ICollection verbs);
new System.Web.UI.WebControls.WebParts.WebPartVerbCollection : System.Web.UI.WebControls.WebParts.WebPartVerbCollection * System.Collections.ICollection -> System.Web.UI.WebControls.WebParts.WebPartVerbCollection
Public Sub New (existingVerbs As WebPartVerbCollection, verbs As ICollection)

參數

existingVerbs
WebPartVerbCollection

現有的 WebPartVerbCollection

verbs
ICollection

衍生自 ICollection 的物件,其中包含一組 Web 組件動詞。

備註

此建構函式可用來合併兩個網頁元件動詞集合。

適用於