WebPartVerbsEventArgs Constructors

Definition

Initializes a new instance of the WebPartVerbsEventArgs class.

Overloads

WebPartVerbsEventArgs()

Initializes a new instance of the WebPartVerbsEventArgs class.

WebPartVerbsEventArgs(WebPartVerbCollection)

Initializes a new instance of the WebPartVerbsEventArgs class using the specified Web Parts verb collection.

WebPartVerbsEventArgs()

Initializes a new instance of the WebPartVerbsEventArgs class.

C#
public WebPartVerbsEventArgs();

Remarks

This is the parameterless constructor and it creates an empty object.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

WebPartVerbsEventArgs(WebPartVerbCollection)

Initializes a new instance of the WebPartVerbsEventArgs class using the specified Web Parts verb collection.

C#
public WebPartVerbsEventArgs(System.Web.UI.WebControls.WebParts.WebPartVerbCollection verbs);

Parameters

verbs
WebPartVerbCollection

A Web Parts verb collection.

Remarks

When using this constructor, the Verbs property is set to the Web Parts verb collection specified in the verbs parameter.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1