Udostępnij za pośrednictwem


Metoda FlavoredProjectFactory.IVsProjectFactory.CreateProject —

Tworzy flavored projektu.

Przestrzeń nazw:  Microsoft.VisualStudio.Shell.Flavor
Zestaw:  Microsoft.VisualStudio.Shell.11.0 (w Microsoft.VisualStudio.Shell.11.0.dll)

Składnia

'Deklaracja
Private Function CreateProject ( _
    fileName As String, _
    location As String, _
    name As String, _
    flags As UInteger, _
    ByRef projectGuid As Guid, _
    <OutAttribute> ByRef project As IntPtr, _
    <OutAttribute> ByRef canceled As Integer _
) As Integer Implements IVsProjectFactory.CreateProject
int IVsProjectFactory.CreateProject(
    string fileName,
    string location,
    string name,
    uint flags,
    ref Guid projectGuid,
    out IntPtr project,
    out int canceled
)

Parametry

  • projectGuid
    Typ: System.Guid%
    Identyfikator interfejsu projektu.
  • project
    Typ: System.IntPtr%
    [out] Zwraca wskaźnik do projektu.
  • canceled
    Typ: System.Int32%
    [out] Zwraca true , jeśli operacja została anulowana, w przeciwnym razie false.

Wartość zwracana

Typ: System.Int32
S_OK .

Implementuje

IVsProjectFactory.CreateProject(String, String, String, UInt32, Guid%, IntPtr%, Int32%)

Uwagi

Ta metoda wymaga CreateProject.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

FlavoredProjectFactory Klasa

Przestrzeń nazw Microsoft.VisualStudio.Shell.Flavor