CodeCatchClauseCollection 建構函式

定義

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

多載

CodeCatchClauseCollection()

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

CodeCatchClauseCollection(CodeCatchClause[])

初始化 CodeCatchClauseCollection 類別 (含有 CodeCatchClause 物件的指定陣列) 的新執行個體。

CodeCatchClauseCollection(CodeCatchClauseCollection)

初始化 CodeCatchClauseCollection 類別 (含有指定來源集合的元素) 的新執行個體。

CodeCatchClauseCollection()

來源:
CodeCatchClauseCollection.cs
來源:
CodeCatchClauseCollection.cs
來源:
CodeCatchClauseCollection.cs

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

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

適用於

CodeCatchClauseCollection(CodeCatchClause[])

來源:
CodeCatchClauseCollection.cs
來源:
CodeCatchClauseCollection.cs
來源:
CodeCatchClauseCollection.cs

初始化 CodeCatchClauseCollection 類別 (含有 CodeCatchClause 物件的指定陣列) 的新執行個體。

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

參數

value
CodeCatchClause[]

用於初始化集合之 CodeCatchClause 物件的陣列。

例外狀況

陣列中的一個或多個物件都是 null

適用於

CodeCatchClauseCollection(CodeCatchClauseCollection)

來源:
CodeCatchClauseCollection.cs
來源:
CodeCatchClauseCollection.cs
來源:
CodeCatchClauseCollection.cs

初始化 CodeCatchClauseCollection 類別 (含有指定來源集合的元素) 的新執行個體。

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

參數

value
CodeCatchClauseCollection

用來初始化集合的 CodeCatchClauseCollection

例外狀況

valuenull

適用於