FlavoredProjectFactory.IVsProjectFactory.CreateProject Yöntem

Tanım

Flavored projesi oluşturur.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsProjectFactory.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) = Microsoft::VisualStudio::Shell::Interop::IVsProjectFactory::CreateProject;
int IVsProjectFactory.CreateProject (string fileName, string location, string name, uint flags, ref Guid projectGuid, out IntPtr project, out int canceled);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsProjectFactory.CreateProject : string * string * string * uint32 * Guid * nativeint * int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsProjectFactory.CreateProject : string * string * string * uint32 * Guid * nativeint * int -> int
Function 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) As Integer Implements IVsProjectFactory.CreateProject

Parametreler

fileName
String

Proje dosyasının adı.

location
String

Proje dosyasının yolu.

name
String

Projenin adı.

flags
UInt32

Değerler __VSCREATEPROJFLAGS .

projectGuid
Guid

Projenin arabirim KIMLIĞI.

project
IntPtr

nativeint

dışı Projeye bir işaretçi döndürür.

canceled
Int32

dışı true İşlem iptal edildiyse, aksi takdirde döndürür false .

Döndürülenler

Int32

Microsoft.VisualStudio.NativeMethods.S_OK.

Uygulamalar

Açıklamalar

Bu yöntem çağırır CreateProject .

Şunlara uygulanır