DesignerVerbCollection 构造函数

定义

初始化 DesignerVerbCollection 类的新实例。

重载

DesignerVerbCollection()

初始化 DesignerVerbCollection 类的新实例。

DesignerVerbCollection(DesignerVerb[])

使用指定的 DesignerVerbCollection 对象的数组,初始化 DesignerVerb 类的新实例。

DesignerVerbCollection()

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

初始化 DesignerVerbCollection 类的新实例。

public:
 DesignerVerbCollection();
public DesignerVerbCollection ();
Public Sub 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()

注解

这是默认的空集合构造函数。

适用于

DesignerVerbCollection(DesignerVerb[])

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

使用指定的 DesignerVerbCollection 对象的数组,初始化 DesignerVerb 类的新实例。

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

参数

value
DesignerVerb[]

指示要在集合中包含的谓词的 DesignerVerb 数组。

例外

valuenull

适用于