CodeStatementCollection Construtores

Definição

Inicializa uma nova instância da classe CodeStatementCollection.

Sobrecargas

Nome Description
CodeStatementCollection()

Inicializa uma nova instância da classe CodeStatementCollection.

CodeStatementCollection(CodeStatement[])

Inicializa uma nova instância da CodeStatementCollection classe que contém a matriz de CodeStatement objetos especificada.

CodeStatementCollection(CodeStatementCollection)

Inicializa uma nova instância da CodeStatementCollection classe que contém os elementos da coleção de origem especificada.

CodeStatementCollection()

Origem:
CodeStatementCollection.cs
Origem:
CodeStatementCollection.cs
Origem:
CodeStatementCollection.cs
Origem:
CodeStatementCollection.cs
Origem:
CodeStatementCollection.cs
Origem:
CodeStatementCollection.cs
Origem:
CodeStatementCollection.cs

Inicializa uma nova instância da classe CodeStatementCollection.

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

Exemplos

O exemplo a seguir mostra como criar uma instância vazia da CodeStatementCollection classe.

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

Aplica-se a

CodeStatementCollection(CodeStatement[])

Origem:
CodeStatementCollection.cs
Origem:
CodeStatementCollection.cs
Origem:
CodeStatementCollection.cs
Origem:
CodeStatementCollection.cs
Origem:
CodeStatementCollection.cs
Origem:
CodeStatementCollection.cs
Origem:
CodeStatementCollection.cs

Inicializa uma nova instância da CodeStatementCollection classe que contém a matriz de CodeStatement objetos especificada.

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())

Parâmetros

value
CodeStatement[]

Uma matriz de CodeStatement objetos com a qual inicializar a coleção.

Exceções

value é null.

Aplica-se a

CodeStatementCollection(CodeStatementCollection)

Origem:
CodeStatementCollection.cs
Origem:
CodeStatementCollection.cs
Origem:
CodeStatementCollection.cs
Origem:
CodeStatementCollection.cs
Origem:
CodeStatementCollection.cs
Origem:
CodeStatementCollection.cs
Origem:
CodeStatementCollection.cs

Inicializa uma nova instância da CodeStatementCollection classe que contém os elementos da coleção de origem especificada.

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)

Parâmetros

value
CodeStatementCollection

Um CodeStatementCollection objeto com o qual inicializar a coleção.

Exceções

value é null.

Aplica-se a