CodeStatementCollection コンストラクター

定義

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

オーバーロード

名前 説明
CodeStatementCollection()

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

CodeStatementCollection(CodeStatement[])

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

CodeStatementCollection(CodeStatementCollection)

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

CodeStatementCollection()

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

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

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

次の例は、 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.cs
ソース:
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.cs
ソース:
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です。

適用対象