CodeAttributeDeclarationCollection 构造函数

定义

初始化 CodeAttributeDeclarationCollection 类的新实例。

重载

CodeAttributeDeclarationCollection()

初始化 CodeAttributeDeclarationCollection 类的新实例。

CodeAttributeDeclarationCollection(CodeAttributeDeclaration[])

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

CodeAttributeDeclarationCollection(CodeAttributeDeclarationCollection)

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

CodeAttributeDeclarationCollection()

Source:
CodeAttributeDeclarationCollection.cs
Source:
CodeAttributeDeclarationCollection.cs
Source:
CodeAttributeDeclarationCollection.cs

初始化 CodeAttributeDeclarationCollection 类的新实例。

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

适用于

CodeAttributeDeclarationCollection(CodeAttributeDeclaration[])

Source:
CodeAttributeDeclarationCollection.cs
Source:
CodeAttributeDeclarationCollection.cs
Source:
CodeAttributeDeclarationCollection.cs

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

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

参数

value
CodeAttributeDeclaration[]

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

例外

数组中的一个或多个对象为 null

适用于

CodeAttributeDeclarationCollection(CodeAttributeDeclarationCollection)

Source:
CodeAttributeDeclarationCollection.cs
Source:
CodeAttributeDeclarationCollection.cs
Source:
CodeAttributeDeclarationCollection.cs

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

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

参数

例外

valuenull

适用于