CodeTypeReferenceCollection 构造函数

定义

初始化 CodeTypeReferenceCollection 类的新实例。

重载

CodeTypeReferenceCollection()

初始化 CodeTypeReferenceCollection 类的新实例。

CodeTypeReferenceCollection(CodeTypeReference[])

初始化 CodeTypeReferenceCollection 类的新实例,该实例包含指定的 CodeTypeReference 对象数组。

CodeTypeReferenceCollection(CodeTypeReferenceCollection)

初始化 CodeTypeReferenceCollection 类的新实例,该实例包含指定源集合的元素。

CodeTypeReferenceCollection()

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

初始化 CodeTypeReferenceCollection 类的新实例。

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

示例

// 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()

适用于

CodeTypeReferenceCollection(CodeTypeReference[])

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

初始化 CodeTypeReferenceCollection 类的新实例,该实例包含指定的 CodeTypeReference 对象数组。

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())

参数

value
CodeTypeReference[]

用于初始化该集合的 CodeTypeReference 对象数组。

适用于

CodeTypeReferenceCollection(CodeTypeReferenceCollection)

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

初始化 CodeTypeReferenceCollection 类的新实例,该实例包含指定源集合的元素。

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)

参数

value
CodeTypeReferenceCollection

CodeTypeReferenceCollection,用来初始化集合。

适用于