Share via


CodeCommentStatementCollection 建構函式

定義

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

多載

CodeCommentStatementCollection()

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

CodeCommentStatementCollection(CodeCommentStatement[])

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

CodeCommentStatementCollection(CodeCommentStatementCollection)

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

CodeCommentStatementCollection()

來源:
CodeCommentStatementCollection.cs
來源:
CodeCommentStatementCollection.cs
來源:
CodeCommentStatementCollection.cs

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

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

適用於

CodeCommentStatementCollection(CodeCommentStatement[])

來源:
CodeCommentStatementCollection.cs
來源:
CodeCommentStatementCollection.cs
來源:
CodeCommentStatementCollection.cs

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

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.cs
來源:
CodeCommentStatementCollection.cs
來源:
CodeCommentStatementCollection.cs

初始化 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

適用於