Share via


CodeCatchClauseCollection 构造函数

定义

初始化 CodeCatchClauseCollection 类的新实例。

重载

CodeCatchClauseCollection()

初始化 CodeCatchClauseCollection 类的新实例。

CodeCatchClauseCollection(CodeCatchClause[])

初始化 CodeCatchClauseCollection 类的新实例,该实例包含指定的 CodeCatchClause 对象数组。

CodeCatchClauseCollection(CodeCatchClauseCollection)

初始化 CodeCatchClauseCollection 类的新实例,该实例包含指定源集合的元素。

CodeCatchClauseCollection()

Source:
CodeCatchClauseCollection.cs
Source:
CodeCatchClauseCollection.cs
Source:
CodeCatchClauseCollection.cs

初始化 CodeCatchClauseCollection 类的新实例。

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

适用于

CodeCatchClauseCollection(CodeCatchClause[])

Source:
CodeCatchClauseCollection.cs
Source:
CodeCatchClauseCollection.cs
Source:
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)

Source:
CodeCatchClauseCollection.cs
Source:
CodeCatchClauseCollection.cs
Source:
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

适用于