Share via


CodeFolders.Add Method (String)

 

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

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

Syntax

ProjectItem Add(
    string bstrPath
)
ProjectItem^ Add(
    String^ bstrPath
)
abstract Add : 
        bstrPath:string -> ProjectItem
Function Add (
    bstrPath As String
) As ProjectItem

Parameters

  • bstrPath
    Type: System.String

    The path to a code folder to be added.

Return Value

Type: EnvDTE.ProjectItem

A ProjectItem object.

See Also

CodeFolders Interface
VsWebSite Namespace

Return to top