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.StringPath to the folder node to be created.
Return Value
Type: Microsoft.VisualStudio.Package.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.