CodeAttributeDeclarationCollection 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 CodeAttributeDeclarationCollection class.
Overloads
CodeAttributeDeclarationCollection() |
Initializes a new instance of the CodeAttributeDeclarationCollection class. |
CodeAttributeDeclarationCollection(CodeAttributeDeclaration[]) |
Initializes a new instance of the CodeAttributeDeclarationCollection class containing the specified array of CodeAttributeDeclaration objects. |
CodeAttributeDeclarationCollection(CodeAttributeDeclarationCollection) |
Initializes a new instance of the CodeAttributeDeclarationCollection class containing the elements of the specified source collection. |
CodeAttributeDeclarationCollection()
Initializes a new instance of the CodeAttributeDeclarationCollection class.
public:
CodeAttributeDeclarationCollection();
public CodeAttributeDeclarationCollection ();
Public Sub New ()
Applies to
CodeAttributeDeclarationCollection(CodeAttributeDeclaration[])
Initializes a new instance of the CodeAttributeDeclarationCollection class containing the specified array of CodeAttributeDeclaration objects.
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())
Parameters
- value
- CodeAttributeDeclaration[]
An array of CodeAttributeDeclaration objects with which to initialize the collection.
Exceptions
One or more objects in the array are null
.
Applies to
CodeAttributeDeclarationCollection(CodeAttributeDeclarationCollection)
Initializes a new instance of the CodeAttributeDeclarationCollection class containing the elements of the specified source collection.
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)
Parameters
A CodeAttributeDeclarationCollection with which to initialize the collection.
Exceptions
value
is null
.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈