CodeTypeParameterCollection.AddRange 方法

定義

將指定的 CodeTypeParameter 物件複製到集合的末尾。

多載

名稱 Description
AddRange(CodeTypeParameter[])

將指定 CodeTypeParameter 陣列的元素複製到集合的末尾。

AddRange(CodeTypeParameterCollection)

將指定的 CodeTypeParameterCollection 元素複製到集合的末尾。

AddRange(CodeTypeParameter[])

將指定 CodeTypeParameter 陣列的元素複製到集合的末尾。

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

參數

value
CodeTypeParameter[]

一個型別 CodeTypeParameter 的陣列,包含要加入集合的物件。

例外狀況

valuenull

適用於

AddRange(CodeTypeParameterCollection)

將指定的 CodeTypeParameterCollection 元素複製到集合的末尾。

public:
 void AddRange(System::CodeDom::CodeTypeParameterCollection ^ value);
public void AddRange(System.CodeDom.CodeTypeParameterCollection value);
member this.AddRange : System.CodeDom.CodeTypeParameterCollection -> unit
Public Sub AddRange (value As CodeTypeParameterCollection)

參數

例外狀況

valuenull

適用於