Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Creates a project.
Namespace: Microsoft.VisualStudio.Shell.Flavor
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Protected Overridable Sub 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 _
)
protected virtual void CreateProject(
string fileName,
string location,
string name,
uint flags,
ref Guid projectGuid,
out IntPtr project,
out int canceled
)
Parameters
- fileName
Type: System.String
The name of the project file.
- location
Type: System.String
The path of the project file.
- name
Type: System.String
The name of the project.
- flags
Type: System.UInt32
Values from __VSCREATEPROJFLAGS.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.