Partager via


FlavoredProjectFactory.CreateProject Method

Definition

Creates a project.

protected:
 virtual void CreateProject(System::String ^ fileName, System::String ^ location, System::String ^ name, System::UInt32 flags, Guid % projectGuid, [Runtime::InteropServices::Out] IntPtr % project, [Runtime::InteropServices::Out] int % canceled);
protected virtual void CreateProject (string fileName, string location, string name, uint flags, ref Guid projectGuid, out IntPtr project, out int canceled);
abstract member CreateProject : string * string * string * uint32 * Guid * nativeint * int -> unit
override this.CreateProject : string * string * string * uint32 * Guid * nativeint * int -> unit
Protected Overridable Sub CreateProject (fileName As String, location As String, name As String, flags As UInteger, ByRef projectGuid As Guid, ByRef project As IntPtr, ByRef canceled As Integer)

Parameters

fileName
String

The name of the project file.

location
String

The path of the project file.

name
String

The name of the project.

flags
UInt32

Values from __VSCREATEPROJFLAGS.

projectGuid
Guid

The interface ID of the project.

project
IntPtr

nativeint

[out] Returns a pointer to the project.

canceled
Int32

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

Remarks

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

Applies to