FlavoredProjectFactoryBase.CreateProject 方法

定义

创建一个项目。

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)

参数

fileName
String

项目文件的名称。

location
String

项目文件的路径。

name
String

项目的名称。

flags
UInt32

中的值 __VSCREATEPROJFLAGS

projectGuid
Guid

项目的接口 ID。

project
IntPtr

nativeint

弄返回一个指向项目的指针。

canceled
Int32

true 如果操作已取消,则返回; 否则返回 false

注解

应为文件扩展名不同于基项目的项目实现此方法。

适用于