Metodo FlavoredProjectFactory.IVsProjectFactory.CreateProject

Crea un progetto condito.

Spazio dei nomi:  Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Sintassi

'Dichiarazione
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
)

Parametri

  • projectGuid
    Tipo: System.Guid%
    ID dell'interfaccia del progetto.
  • project
    Tipo: System.IntPtr%
    [out] Restituisce un puntatore al progetto.
  • canceled
    Tipo: System.Int32%
    [out] Restituisce true se l'operazione è stata annullata; in caso contrario false.

Valore restituito

Tipo: System.Int32
S_OK .

Implementa

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

Note

Questo CreateProjectdi chiamate al metodo.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

FlavoredProjectFactory Classe

Spazio dei nomi Microsoft.VisualStudio.Shell.Flavor