Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

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)

[GuidAttribute("FDCAD245-E468-48F3-B603-2641E020D6D0")]
public interface CodeFolders : IEnumerable

The CodeFolders type exposes the following members.

  NameDescription
Public propertyContainingProjectGets a reference to the project in the DTE object that contains this Web service.
Public propertyCountGets the number of folders in the CodeFolders collection.
Public propertyDTEGets a reference to the DTE2 object that contains the project containing this Web service.
Top

  NameDescription
Public methodAddAdds a CodeFolder object from the specified path to the collection.
Public methodGetEnumeratorReturns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public methodGetEnumerator()Returns an enumerator that iterates through the CodeFolders collection.
Public methodItemGets the CodeFolder at the specified index.
Top

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 Web Sites.

Show:
© 2015 Microsoft