편집

다음을 통해 공유


WebPartVerbCollection Constructors

Definition

Initializes a new instance of the WebPartVerbCollection class.

Overloads

WebPartVerbCollection()

Initializes a new instance of the WebPartVerbCollection class.

WebPartVerbCollection(ICollection)

Initializes a new instance of the WebPartVerbCollection class using the specified collection.

WebPartVerbCollection(WebPartVerbCollection, ICollection)

Initializes a new instance of the WebPartVerbCollection class using the specified collections.

WebPartVerbCollection()

Initializes a new instance of the WebPartVerbCollection class.

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

Remarks

This constructor creates an empty WebPartVerbCollection object. To create a new instance of WebPartVerbCollection using an existing collection of Web Parts verbs, you can use WebPartVerbCollection(ICollection).

Applies to

WebPartVerbCollection(ICollection)

Initializes a new instance of the WebPartVerbCollection class using the specified collection.

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)

Parameters

verbs
ICollection

An object derived from ICollection that contains a set of Web Parts verbs.

Remarks

This constructor creates an instance of WebPartVerbCollection using the specified verbs collection. This collection can be any object derived from ICollection that contains a set of Web Parts verbs.

Applies to

WebPartVerbCollection(WebPartVerbCollection, ICollection)

Initializes a new instance of the WebPartVerbCollection class using the specified collections.

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)

Parameters

existingVerbs
WebPartVerbCollection

An existing WebPartVerbCollection.

verbs
ICollection

An object derived from ICollection that contains a set of Web Parts verbs.

Remarks

This constructor can be used to combine two Web Parts verb collections.

Applies to