Lire en anglais

Partager via


FlavoredProjectFactory.CreateProject Method

Creates a project.

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

protected virtual void 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.

Remarks

This method should be implemented for projects that a file extension different from that of the base project.

.NET Framework Security

See Also

Reference

FlavoredProjectFactory Class

FlavoredProjectFactory Members

Microsoft.VisualStudio.Shell.Flavor Namespace