Freigeben über


FlavoredProjectFactory.IVsProjectFactory.CreateProject Method

Creates a flavored project.

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

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

Parameters

  • projectGuid
    Type: System.Guid%
    The interface ID of the project.
  • project
    Type: System.IntPtr%
    [out] Returns a pointer to the project.
  • canceled
    Type: System.Int32%
    [out] Returns true if the operation was canceled, otherwise false.

Return Value

Type: System.Int32
S_OK .

Implements

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

Remarks

This method calls CreateProject.

.NET Framework Security

See Also

Reference

FlavoredProjectFactory Class

Microsoft.VisualStudio.Shell.Flavor Namespace