편집

다음을 통해 공유


CodeTypeReferenceCollection Constructors

Definition

Initializes a new instance of the CodeTypeReferenceCollection class.

Overloads

CodeTypeReferenceCollection()

Initializes a new instance of the CodeTypeReferenceCollection class.

CodeTypeReferenceCollection(CodeTypeReference[])

Initializes a new instance of the CodeTypeReferenceCollection class containing the specified array of CodeTypeReference objects.

CodeTypeReferenceCollection(CodeTypeReferenceCollection)

Initializes a new instance of the CodeTypeReferenceCollection class containing the elements of the specified source collection.

CodeTypeReferenceCollection()

Source:
CodeTypeReferenceCollection.cs
Source:
CodeTypeReferenceCollection.cs
Source:
CodeTypeReferenceCollection.cs
Source:
CodeTypeReferenceCollection.cs

Initializes a new instance of the CodeTypeReferenceCollection class.

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

Examples

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

Applies to

CodeTypeReferenceCollection(CodeTypeReference[])

Source:
CodeTypeReferenceCollection.cs
Source:
CodeTypeReferenceCollection.cs
Source:
CodeTypeReferenceCollection.cs
Source:
CodeTypeReferenceCollection.cs

Initializes a new instance of the CodeTypeReferenceCollection class containing the specified array of CodeTypeReference objects.

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

Parameters

value
CodeTypeReference[]

An array of CodeTypeReference objects with which to initialize the collection.

Applies to

CodeTypeReferenceCollection(CodeTypeReferenceCollection)

Source:
CodeTypeReferenceCollection.cs
Source:
CodeTypeReferenceCollection.cs
Source:
CodeTypeReferenceCollection.cs
Source:
CodeTypeReferenceCollection.cs

Initializes a new instance of the CodeTypeReferenceCollection class containing the elements of the specified source collection.

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

Parameters

value
CodeTypeReferenceCollection

A CodeTypeReferenceCollection with which to initialize the collection.

Applies to