CodeCommentStatementCollection 建構函式

定義

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

多載

名稱 Description
CodeCommentStatementCollection()

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

CodeCommentStatementCollection(CodeCommentStatement[])

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

CodeCommentStatementCollection(CodeCommentStatementCollection)

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

CodeCommentStatementCollection()

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

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

適用於

CodeCommentStatementCollection(CodeCommentStatement[])

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

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

參數

value
CodeCommentStatement[]

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

例外狀況

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

適用於

CodeCommentStatementCollection(CodeCommentStatementCollection)

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

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

參數

例外狀況

valuenull

適用於