Share via


CodeFolder Interface

Definition

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

public interface class CodeFolder
[System.Runtime.InteropServices.Guid("58B5E6E3-C2D3-4D56-97EB-26DDA09323F7")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface CodeFolder
[<System.Runtime.InteropServices.Guid("58B5E6E3-C2D3-4D56-97EB-26DDA09323F7")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type CodeFolder = interface
Public Interface CodeFolder
Attributes

Properties

CodeModel

Gets the CodeModel object for the code folder.

ContainingProject

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

DTE

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

FolderPath

Gets the path and name for the folder.

Language

Gets the language configured for the folder.

ProjectItem

The project item for the code folder.

Methods

Remove()

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

Applies to