Redigera

Dela via


CodeTypeMemberCollection Constructors

Definition

Initializes a new instance of the CodeTypeMemberCollection class.

Overloads

CodeTypeMemberCollection()

Initializes a new instance of the CodeTypeMemberCollection class.

CodeTypeMemberCollection(CodeTypeMember[])

Initializes a new instance of the CodeTypeMemberCollection class containing the specified array of CodeTypeMember objects.

CodeTypeMemberCollection(CodeTypeMemberCollection)

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

CodeTypeMemberCollection()

Source:
CodeTypeMemberCollection.cs
Source:
CodeTypeMemberCollection.cs
Source:
CodeTypeMemberCollection.cs
Source:
CodeTypeMemberCollection.cs

Initializes a new instance of the CodeTypeMemberCollection class.

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

Examples

The following code example demonstrates how to create an empty instance of the CodeTypeMemberCollection class.

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

Applies to

CodeTypeMemberCollection(CodeTypeMember[])

Source:
CodeTypeMemberCollection.cs
Source:
CodeTypeMemberCollection.cs
Source:
CodeTypeMemberCollection.cs
Source:
CodeTypeMemberCollection.cs

Initializes a new instance of the CodeTypeMemberCollection class containing the specified array of CodeTypeMember objects.

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

Parameters

value
CodeTypeMember[]

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

Applies to

CodeTypeMemberCollection(CodeTypeMemberCollection)

Source:
CodeTypeMemberCollection.cs
Source:
CodeTypeMemberCollection.cs
Source:
CodeTypeMemberCollection.cs
Source:
CodeTypeMemberCollection.cs

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

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

Parameters

value
CodeTypeMemberCollection

A CodeTypeMemberCollection with which to initialize the collection.

Applies to