CodeTypeDeclarationCollection CodeTypeDeclarationCollection CodeTypeDeclarationCollection CodeTypeDeclarationCollection Constructors

Определение

Перегрузки

CodeTypeDeclarationCollection() CodeTypeDeclarationCollection() CodeTypeDeclarationCollection()

Инициализирует новый экземпляр класса CodeTypeDeclarationCollection.Initializes a new instance of the CodeTypeDeclarationCollection class.

CodeTypeDeclarationCollection(CodeTypeDeclaration[]) CodeTypeDeclarationCollection(CodeTypeDeclaration[]) CodeTypeDeclarationCollection(CodeTypeDeclaration[]) CodeTypeDeclarationCollection(CodeTypeDeclaration[])

Инициализирует новый экземпляр класса CodeTypeDeclarationCollection, содержащий указанный массив объектов CodeTypeDeclaration.Initializes a new instance of the CodeTypeDeclarationCollection class that contains the specified array of CodeTypeDeclaration objects.

CodeTypeDeclarationCollection(CodeTypeDeclarationCollection) CodeTypeDeclarationCollection(CodeTypeDeclarationCollection) CodeTypeDeclarationCollection(CodeTypeDeclarationCollection) CodeTypeDeclarationCollection(CodeTypeDeclarationCollection)

Инициализирует новый экземпляр класса CodeTypeDeclarationCollection, содержащий элементы указанной исходной коллекции.Initializes a new instance of the CodeTypeDeclarationCollection class that contains the elements of the specified source collection.

CodeTypeDeclarationCollection() CodeTypeDeclarationCollection() CodeTypeDeclarationCollection()

Инициализирует новый экземпляр класса CodeTypeDeclarationCollection.Initializes a new instance of the CodeTypeDeclarationCollection class.

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

Примеры

В следующем примере показано, как создать пустой экземпляр CodeTypeDeclarationCollection класса.The following example shows how to create an empty instance of the CodeTypeDeclarationCollection class.

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

CodeTypeDeclarationCollection(CodeTypeDeclaration[]) CodeTypeDeclarationCollection(CodeTypeDeclaration[]) CodeTypeDeclarationCollection(CodeTypeDeclaration[]) CodeTypeDeclarationCollection(CodeTypeDeclaration[])

Инициализирует новый экземпляр класса CodeTypeDeclarationCollection, содержащий указанный массив объектов CodeTypeDeclaration.Initializes a new instance of the CodeTypeDeclarationCollection class that contains the specified array of CodeTypeDeclaration objects.

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

Параметры

value
CodeTypeDeclaration[]

Массив объектов CodeTypeDeclaration, которыми следует инициализировать коллекцию.An array of CodeTypeDeclaration objects with which to initialize the collection.

CodeTypeDeclarationCollection(CodeTypeDeclarationCollection) CodeTypeDeclarationCollection(CodeTypeDeclarationCollection) CodeTypeDeclarationCollection(CodeTypeDeclarationCollection) CodeTypeDeclarationCollection(CodeTypeDeclarationCollection)

Инициализирует новый экземпляр класса CodeTypeDeclarationCollection, содержащий элементы указанной исходной коллекции.Initializes a new instance of the CodeTypeDeclarationCollection class that contains the elements of the specified source collection.

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

Параметры

value
CodeTypeDeclarationCollection CodeTypeDeclarationCollection CodeTypeDeclarationCollection CodeTypeDeclarationCollection

Объект CodeTypeDeclarationCollection, с помощью которого следует инициализировать коллекцию.A CodeTypeDeclarationCollection object with which to initialize the collection.

Применяется к