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)

[GuidAttribute("58B5E6E3-C2D3-4D56-97EB-26DDA09323F7")]
public interface class CodeFolder

NameDescription
System_CAPS_pubpropertyCodeModel

Gets the CodeModel object for the code folder.

System_CAPS_pubpropertyContainingProject

Gets a reference to the project in the DTE object that contains this code folder.

System_CAPS_pubpropertyDTE

Gets a reference to the DTE2 object that contains the project containing this code folder.

System_CAPS_pubpropertyFolderPath

Gets the path and name for the folder.

System_CAPS_pubpropertyLanguage

Gets the language configured for the folder.

System_CAPS_pubpropertyProjectItem

The project item for the code folder.

NameDescription
System_CAPS_pubmethodRemove()

Removes the <add directoryName="folderName"> node from the element of the 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.

Return to top
Show: