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.

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

Syntax

[GuidAttribute("FDCAD245-E468-48F3-B603-2641E020D6D0")]
public interface CodeFolders : IEnumerable
[GuidAttribute("FDCAD245-E468-48F3-B603-2641E020D6D0")]
public interface class CodeFolders : IEnumerable
[<GuidAttribute("FDCAD245-E468-48F3-B603-2641E020D6D0")>]
type CodeFolders = 
    interface
        interface IEnumerable
    end
<GuidAttribute("FDCAD245-E468-48F3-B603-2641E020D6D0")>
Public Interface CodeFolders
    Inherits IEnumerable

Properties

Name Description
System_CAPS_pubproperty ContainingProject

Gets a reference to the project in the DTE object that contains this Web service.

System_CAPS_pubproperty Count

Gets the number of folders in the CodeFolders collection.

System_CAPS_pubproperty DTE

Gets a reference to the DTE2 object that contains the project containing this Web service.

Methods

Name Description
System_CAPS_pubmethod Add(String)

Adds a CodeFolder object from the specified path to the collection.

System_CAPS_pubmethod GetEnumerator()

Returns an enumerator that iterates through the CodeFolders collection.

System_CAPS_pubmethod Item(Object)

Gets the CodeFolder at the specified index.

Remarks

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.

See Also

CodeFolder
VSWebSite
CodeFolders
VsWebSite Namespace
compilation Element (ASP.NET Settings Schema)
codeSubDirectories Element for compilation (ASP.NET Settings Schema)
Shared Code Folders in ASP.NET Web Site Projects

Return to top