ExceptionCollection(ArrayList) 建構函式

定義

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

public:
 ExceptionCollection(System::Collections::ArrayList ^ exceptions);
public ExceptionCollection(System.Collections.ArrayList exceptions);
public ExceptionCollection(System.Collections.ArrayList? exceptions);
new System.ComponentModel.Design.ExceptionCollection : System.Collections.ArrayList -> System.ComponentModel.Design.ExceptionCollection
Public Sub New (exceptions As ArrayList)

參數

exceptions
ArrayList

一個型別 Exception為 的陣列,包含用來填充集合的物件。

例外狀況

僅.NET 8 及以後版本:陣列元素的型別不是 Exception

適用於