Share via


CodeStatementCollection コンストラクター

定義

CodeStatementCollection クラスの新しいインスタンスを初期化します。

オーバーロード

CodeStatementCollection()

CodeStatementCollection クラスの新しいインスタンスを初期化します。

CodeStatementCollection(CodeStatement[])

CodeStatementCollection オブジェクトの指定した配列を格納する CodeStatement クラスの新しいインスタンスを初期化します。

CodeStatementCollection(CodeStatementCollection)

指定したソース コレクションの要素を格納する CodeStatementCollection クラスの新しいインスタンスを初期化します。

CodeStatementCollection()

ソース:
CodeStatementCollection.cs
ソース:
CodeStatementCollection.cs
ソース:
CodeStatementCollection.cs

CodeStatementCollection クラスの新しいインスタンスを初期化します。

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

次の例は、 クラスの空のインスタンスを作成する方法を CodeStatementCollection 示しています。

// Creates an empty CodeStatementCollection.
CodeStatementCollection^ collection = gcnew CodeStatementCollection;
// Creates an empty CodeStatementCollection.
CodeStatementCollection collection = new CodeStatementCollection();
' Creates an empty CodeStatementCollection.
Dim collection As New CodeStatementCollection

適用対象

CodeStatementCollection(CodeStatement[])

ソース:
CodeStatementCollection.cs
ソース:
CodeStatementCollection.cs
ソース:
CodeStatementCollection.cs

CodeStatementCollection オブジェクトの指定した配列を格納する CodeStatement クラスの新しいインスタンスを初期化します。

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

パラメーター

value
CodeStatement[]

コレクションを初期化するために使用する CodeStatement オブジェクトの配列。

例外

valuenullです。

適用対象

CodeStatementCollection(CodeStatementCollection)

ソース:
CodeStatementCollection.cs
ソース:
CodeStatementCollection.cs
ソース:
CodeStatementCollection.cs

指定したソース コレクションの要素を格納する CodeStatementCollection クラスの新しいインスタンスを初期化します。

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

パラメーター

value
CodeStatementCollection

コレクションを初期化するために使用する CodeStatementCollection オブジェクト。

例外

valuenullです。

適用対象