CodeFolder Interface

Represents the App_Code folder, or a first-level child of the App_Code folder that is configured as a code folder.

Namespace:  VsWebSite
Assembly:  VsWebSite.Interop (in VsWebSite.Interop.dll)

public interface CodeFolder

The CodeFolder type exposes the following members.

Public propertyCodeModelGets the CodeModel object for the code folder.
Public propertyContainingProjectGets a reference to the project in the DTE object that contains this code folder.
Public propertyDTEGets a reference to the DTE2 object that contains the project containing this code folder.
Public propertyFolderPathGets the path and name for the folder.
Public propertyLanguageGets the language configured for the folder.
Public propertyProjectItemThe project item for the code folder.

Public methodRemoveRemoves the <add directoryName="folderName"> node from the <codeSubDirectories> element of the <compilation> section of the Web.config file for this Web site.

For more information on configuring a subfolder in the App_Code folder as a code folder, see Shared Code Folders in ASP.NET Web Site Projects.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft