Επεξεργασία

Κοινή χρήση μέσω


DesignerVerbCollection Constructors

Definition

Initializes a new instance of the DesignerVerbCollection class.

Overloads

DesignerVerbCollection()

Initializes a new instance of the DesignerVerbCollection class.

DesignerVerbCollection(DesignerVerb[])

Initializes a new instance of the DesignerVerbCollection class using the specified array of DesignerVerb objects.

DesignerVerbCollection()

Source:
DesignerVerbCollection.cs
Source:
DesignerVerbCollection.cs
Source:
DesignerVerbCollection.cs

Initializes a new instance of the DesignerVerbCollection class.

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

Examples

The following code example demonstrates how to create a new DesignerVerbCollection.

// Creates an empty DesignerVerbCollection.
DesignerVerbCollection^ collection = gcnew DesignerVerbCollection;
// Creates an empty DesignerVerbCollection.
DesignerVerbCollection collection = new DesignerVerbCollection();
' Creates an empty DesignerVerbCollection.
Dim collection As New DesignerVerbCollection()

Remarks

This is a default empty collection constructor.

Applies to

DesignerVerbCollection(DesignerVerb[])

Source:
DesignerVerbCollection.cs
Source:
DesignerVerbCollection.cs
Source:
DesignerVerbCollection.cs

Initializes a new instance of the DesignerVerbCollection class using the specified array of DesignerVerb objects.

public:
 DesignerVerbCollection(cli::array <System::ComponentModel::Design::DesignerVerb ^> ^ value);
public DesignerVerbCollection (System.ComponentModel.Design.DesignerVerb[] value);
new System.ComponentModel.Design.DesignerVerbCollection : System.ComponentModel.Design.DesignerVerb[] -> System.ComponentModel.Design.DesignerVerbCollection
Public Sub New (value As DesignerVerb())

Parameters

value
DesignerVerb[]

A DesignerVerb array that indicates the verbs to contain within the collection.

Exceptions

value is null.

Applies to