ProjectNode.CreateFolderNodes Method

Creates a project folder node.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Overridable Function CreateFolderNodes ( _
    strPath As String _
) As HierarchyNode
'使用
Dim instance As ProjectNode
Dim strPath As String
Dim returnValue As HierarchyNode

returnValue = instance.CreateFolderNodes(strPath)
public virtual HierarchyNode CreateFolderNodes(
    string strPath
)
public:
virtual HierarchyNode^ CreateFolderNodes(
    String^ strPath
)
public function CreateFolderNodes(
    strPath : String
) : HierarchyNode

Parameters

  • strPath
    Type: System.String

    Path to the folder node to be created.

Return Value

Type: Microsoft.VisualStudio.Package.HierarchyNode

HierarchyNode.

Remarks

This method walks the sub-paths of a project-relative path and checks if the folder nodes hierarchy is already there; if not, it creates the folder node.

Permissions

See Also

Reference

ProjectNode Class

ProjectNode Members

Microsoft.VisualStudio.Package Namespace