FlavoredProjectFactoryBase::CreateProject Method (String^, String^, String^, UInt32, Guid, IntPtr, Int32)

 

Creates a project.

Namespace:   Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

protected:
virtual void CreateProject(
	String^ fileName,
	String^ location,
	String^ name,
	unsigned int flags,
	Guid% projectGuid,
	[OutAttribute] IntPtr% project,
	[OutAttribute] int% canceled
)

Parameters

fileName
Type: System::String^

The name of the project file.

location
Type: System::String^

The path of the project file.

name
Type: System::String^

The name of the project.

flags
Type: System::UInt32

Values from __VSCREATEPROJFLAGS.

projectGuid
Type: System::Guid

The interface ID of the project.

project
Type: System::IntPtr

[out] Returns a pointer to the project.

canceled
Type: System::Int32

[out] Returns true if the operation was canceled, otherwise false.

This method should be implemented for projects that a file extension different from that of the base project.

Return to top
Show: