CodeAttributeArgumentCollection 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 CodeAttributeArgumentCollection 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| CodeAttributeArgumentCollection() |
初始化 CodeAttributeArgumentCollection 類別的新執行個體。 |
| CodeAttributeArgumentCollection(CodeAttributeArgument[]) |
初始化包含指定物件陣列CodeAttributeArgument的CodeAttributeArgumentCollection類別新實例。 |
| CodeAttributeArgumentCollection(CodeAttributeArgumentCollection) |
初始化包含指定原始集合元素的類別新實例 CodeAttributeArgumentCollection 。 |
CodeAttributeArgumentCollection()
初始化 CodeAttributeArgumentCollection 類別的新執行個體。
public:
CodeAttributeArgumentCollection();
public CodeAttributeArgumentCollection();
Public Sub New ()
適用於
CodeAttributeArgumentCollection(CodeAttributeArgument[])
初始化包含指定物件陣列CodeAttributeArgument的CodeAttributeArgumentCollection類別新實例。
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)
參數
用來 CodeAttributeArgumentCollection 初始化集合。
例外狀況
value 是 null。