CodeTypeReferenceCollection Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the CodeTypeReferenceCollection class.
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. |
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
.NET 10 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
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
.NET 10 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
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
A CodeTypeReferenceCollection with which to initialize the collection.
Applies to
.NET 10 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: