CodeTypeReferenceCollection Constructors
Definition
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.
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()
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[])
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)
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.