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
.