CodeFolders.Add Method

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

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

Syntax

'Declaration
Function Add ( _
    bstrPath As String _
) As ProjectItem
ProjectItem Add(
    string bstrPath
)
ProjectItem^ Add(
    [InAttribute] String^ bstrPath
)
abstract Add : 
        bstrPath:string -> ProjectItem
function Add(
    bstrPath : String
) : ProjectItem

Parameters

  • bstrPath
    Type: String

    The path to a code folder to be added.

Return Value

Type: EnvDTE.ProjectItem
A ProjectItem object.

.NET Framework Security

See Also

Reference

CodeFolders Interface

VsWebSite Namespace