CodeAttributeArgumentCollection 建構函式

定義

初始化 CodeAttributeArgumentCollection 類別的新執行個體。

多載

名稱 Description
CodeAttributeArgumentCollection()

初始化 CodeAttributeArgumentCollection 類別的新執行個體。

CodeAttributeArgumentCollection(CodeAttributeArgument[])

初始化包含指定物件陣列CodeAttributeArgumentCodeAttributeArgumentCollection類別新實例。

CodeAttributeArgumentCollection(CodeAttributeArgumentCollection)

初始化包含指定原始集合元素的類別新實例 CodeAttributeArgumentCollection

CodeAttributeArgumentCollection()

初始化 CodeAttributeArgumentCollection 類別的新執行個體。

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

適用於

CodeAttributeArgumentCollection(CodeAttributeArgument[])

初始化包含指定物件陣列CodeAttributeArgumentCodeAttributeArgumentCollection類別新實例。

public:
 CodeAttributeArgumentCollection(cli::array <System::CodeDom::CodeAttributeArgument ^> ^ value);
public CodeAttributeArgumentCollection(System.CodeDom.CodeAttributeArgument[] value);
new System.CodeDom.CodeAttributeArgumentCollection : System.CodeDom.CodeAttributeArgument[] -> System.CodeDom.CodeAttributeArgumentCollection
Public Sub New (value As CodeAttributeArgument())

參數

value
CodeAttributeArgument[]

一組 CodeAttributeArgument 用來初始化集合的物件陣列。

例外狀況

陣列中的一個或多個物件為 null

適用於

CodeAttributeArgumentCollection(CodeAttributeArgumentCollection)

初始化包含指定原始集合元素的類別新實例 CodeAttributeArgumentCollection

public:
 CodeAttributeArgumentCollection(System::CodeDom::CodeAttributeArgumentCollection ^ value);
public CodeAttributeArgumentCollection(System.CodeDom.CodeAttributeArgumentCollection value);
new System.CodeDom.CodeAttributeArgumentCollection : System.CodeDom.CodeAttributeArgumentCollection -> System.CodeDom.CodeAttributeArgumentCollection
Public Sub New (value As CodeAttributeArgumentCollection)

參數

例外狀況

valuenull

適用於