語言

WebPartVerbCollection 建構函式

定義

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

多載

名稱 Description
WebPartVerbCollection()

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

WebPartVerbCollection(ICollection)

使用指定的集合,初始化 WebPartVerbCollection 類別的新實例。

WebPartVerbCollection(WebPartVerbCollection, ICollection)

使用指定的集合初始化該類別的新實例 WebPartVerbCollection 。

WebPartVerbCollection()

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

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

備註

此建構子會創造一個空 WebPartVerbCollection 物件。 若要建立使用現有 Web Parts 動詞集合的新實例 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 Parts 動詞。

備註

此建構子會使用指定的動詞集合創建一個實例 WebPartVerbCollection 。 此集合可以是任何源自 ICollection 包含一組 Web Parts 動詞的物件。

適用於

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 Parts 動詞。

備註

此建構器可用來結合兩個 Web Parts 動詞集合。

適用於