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
- 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.