CodeFolders Interface
Represents a collection of CodeFolder objects, where each item represents either the App_Code folder or one of its first-level child folders configured as a code folder.
Assembly: VsWebSite.Interop (in VsWebSite.Interop.dll)
| Name | Description | |
|---|---|---|
![]() | ContainingProject | Gets a reference to the project in the DTE object that contains this Web service. |
![]() | Count | Gets the number of folders in the CodeFolders collection. |
![]() | DTE | Gets a reference to the DTE2 object that contains the project containing this Web service. |
| Name | Description | |
|---|---|---|
![]() | Add(String^) | Adds a CodeFolder object from the specified path to the collection. |
![]() | GetEnumerator() | Returns an enumerator that iterates through the CodeFolders collection. |
![]() | Item(Object^) | Gets the CodeFolder at the specified index. |
This class is available only from the CodeFolders property.
For more information on configuring a folder in the App_Code folder as a code folder, see Shared Code Folders in ASP.NET Web Site Projects.

