DesignerActionListCollection.AddRange 方法

定义

将提供的一系列 DesignerActionList 对象添加到当前集合中。Adds the supplied series of DesignerActionList objects to the current collection.

重载

AddRange(DesignerActionList[])

将提供的 DesignerActionList 数组的元素添加到当前集合的末尾。Adds the elements of the supplied DesignerActionList array to the end of the current collection.

AddRange(DesignerActionListCollection)

将提供的 DesignerActionListCollection 的元素添加到当前集合的末尾。Adds the elements of the supplied DesignerActionListCollection to the end of the current collection.

AddRange(DesignerActionList[])

将提供的 DesignerActionList 数组的元素添加到当前集合的末尾。Adds the elements of the supplied DesignerActionList array to the end of the current collection.

public:
 void AddRange(cli::array <System::ComponentModel::Design::DesignerActionList ^> ^ value);
public void AddRange (System.ComponentModel.Design.DesignerActionList[] value);
member this.AddRange : System.ComponentModel.Design.DesignerActionList[] -> unit
Public Sub AddRange (value As DesignerActionList())

参数

value
DesignerActionList[]

要添加的 DesignerActionList 对象的数组。The array of DesignerActionList objects to add.

例外

valuenullvalue is null.

注解

新元素将添加到内部列表的末尾。The new elements are added to the end of the internal list.

验证参数后 value ,该方法将对 AddRange 方法进行一系列调用 Add 以单独添加每个元素。After validating the value parameter, the AddRange method makes a series of calls to the Add method to individually add each element.

另请参阅

AddRange(DesignerActionListCollection)

将提供的 DesignerActionListCollection 的元素添加到当前集合的末尾。Adds the elements of the supplied DesignerActionListCollection to the end of the current collection.

public:
 void AddRange(System::ComponentModel::Design::DesignerActionListCollection ^ value);
public void AddRange (System.ComponentModel.Design.DesignerActionListCollection value);
member this.AddRange : System.ComponentModel.Design.DesignerActionListCollection -> unit
Public Sub AddRange (value As DesignerActionListCollection)

参数

例外

valuenullvalue is null.

注解

新元素将添加到内部列表的末尾。The new elements are added to the end of the internal list.

验证参数后 value ,该方法将对 AddRange 方法进行一系列调用 Add 以单独添加每个元素。After validating the value parameter, the AddRange method makes a series of calls to the Add method to individually add each element.

另请参阅

适用于