CodeTypeDeclarationCollection::Add Method (CodeTypeDeclaration^)
.NET Framework (current version)
Adds the specified CodeTypeDeclaration object to the collection.
Assembly: System (in System.dll)
Parameters
- value
-
Type:
System.CodeDom::CodeTypeDeclaration^
The CodeTypeDeclaration object to add.
The following example demonstrates how to use the Add method to add a CodeTypeDeclaration object to a CodeTypeDeclarationCollection.
.NET Framework
Available since 1.1
Available since 1.1
Show: