Bagikan melalui


DesignerVerbCollection Konstruktor

Definisi

Menginisialisasi instans baru kelas DesignerVerbCollection.

Overload

DesignerVerbCollection()

Menginisialisasi instans baru kelas DesignerVerbCollection.

DesignerVerbCollection(DesignerVerb[])

Menginisialisasi instans DesignerVerbCollection baru kelas menggunakan array DesignerVerb objek yang ditentukan.

DesignerVerbCollection()

Sumber:
DesignerVerbCollection.cs
Sumber:
DesignerVerbCollection.cs
Sumber:
DesignerVerbCollection.cs

Menginisialisasi instans baru kelas DesignerVerbCollection.

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

Contoh

Contoh kode berikut menunjukkan cara membuat baru 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()

Keterangan

Ini adalah konstruktor koleksi kosong default.

Berlaku untuk

DesignerVerbCollection(DesignerVerb[])

Sumber:
DesignerVerbCollection.cs
Sumber:
DesignerVerbCollection.cs
Sumber:
DesignerVerbCollection.cs

Menginisialisasi instans DesignerVerbCollection baru kelas menggunakan array DesignerVerb objek yang ditentukan.

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())

Parameter

value
DesignerVerb[]

Array DesignerVerb yang menunjukkan kata kerja yang akan dimuat dalam koleksi.

Pengecualian

valueadalah null.

Berlaku untuk