Język

CodeStatementCollection Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy CodeStatementCollection.

Przeciążenia

Nazwa Opis
CodeStatementCollection()

Inicjuje nowe wystąpienie klasy CodeStatementCollection.

CodeStatementCollection(CodeStatement[])

Inicjuje CodeStatementCollection nowe wystąpienie klasy zawierającej określoną tablicę CodeStatement obiektów.

CodeStatementCollection(CodeStatementCollection)

Inicjuje nowe wystąpienie CodeStatementCollection klasy zawierającej elementy określonej kolekcji źródłowej.

CodeStatementCollection()

Źródło:
CodeStatementCollection.cs
Źródło:
CodeStatementCollection.cs
Źródło:
CodeStatementCollection.cs
Źródło:
CodeStatementCollection.cs
Źródło:
CodeStatementCollection.cs
Źródło:
CodeStatementCollection.cs
Źródło:
CodeStatementCollection.cs

Inicjuje nowe wystąpienie klasy CodeStatementCollection.

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

Przykłady

W poniższym przykładzie pokazano, jak utworzyć puste wystąpienie CodeStatementCollection klasy.

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

Dotyczy

CodeStatementCollection(CodeStatement[])

Źródło:
CodeStatementCollection.cs
Źródło:
CodeStatementCollection.cs
Źródło:
CodeStatementCollection.cs
Źródło:
CodeStatementCollection.cs
Źródło:
CodeStatementCollection.cs
Źródło:
CodeStatementCollection.cs
Źródło:
CodeStatementCollection.cs

Inicjuje CodeStatementCollection nowe wystąpienie klasy zawierającej określoną tablicę CodeStatement obiektów.

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

Parametry

value
CodeStatement[]

Tablica CodeStatement obiektów, za pomocą których należy zainicjować kolekcję.

Wyjątki

Parametr value ma wartość null.

Dotyczy

CodeStatementCollection(CodeStatementCollection)

Źródło:
CodeStatementCollection.cs
Źródło:
CodeStatementCollection.cs
Źródło:
CodeStatementCollection.cs
Źródło:
CodeStatementCollection.cs
Źródło:
CodeStatementCollection.cs
Źródło:
CodeStatementCollection.cs
Źródło:
CodeStatementCollection.cs

Inicjuje nowe wystąpienie CodeStatementCollection klasy zawierającej elementy określonej kolekcji źródłowej.

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)

Parametry

value
CodeStatementCollection

Obiekt CodeStatementCollection , za pomocą którego należy zainicjować kolekcję.

Wyjątki

Parametr value ma wartość null.

Dotyczy