HierarchyNode.AddNewFolder Method

Adds a new folder to the project hierarchy.

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

Syntax

'宣言
Protected Overridable Function AddNewFolder As Integer
'使用
Dim returnValue As Integer

returnValue = Me.AddNewFolder()
protected virtual int AddNewFolder()
protected:
virtual int AddNewFolder()
protected function AddNewFolder() : int

Return Value

Type: System.Int32

If the method succeeds, [F:Microsoft.VisualStudio.VSConstants.S_OK;] otherwise, an error code.

Remarks

This method generates a folder name and creates the folder on disk.

Permissions

See Also

Reference

HierarchyNode Class

HierarchyNode Members

Microsoft.VisualStudio.Package Namespace