Compartilhar via


FlavoredProject.InitializeForOuter Method

Definition

Called by the outer project subtype to have the owned inner project subtype do its initialization work.

protected:
 virtual void InitializeForOuter(System::String ^ fileName, System::String ^ location, System::String ^ name, System::UInt32 flags, Guid % guidProject, [Runtime::InteropServices::Out] bool % cancel);
protected virtual void InitializeForOuter (string fileName, string location, string name, uint flags, ref Guid guidProject, out bool cancel);
abstract member InitializeForOuter : string * string * string * uint32 * Guid * bool -> unit
override this.InitializeForOuter : string * string * string * uint32 * Guid * bool -> unit
Protected Overridable Sub InitializeForOuter (fileName As String, location As String, name As String, flags As UInteger, ByRef guidProject As Guid, ByRef cancel As Boolean)

Parameters

fileName
String

The name of the project file.

location
String

The path of the project file.

name
String

The name of the project.

flags
UInt32

Flags from the Microsoft.VisualStudio.Shell.Interop.__VSCREATEPROJECTFLAGS enumeration.

guidProject
Guid

[ref] The interface ID of the project.

cancel
Boolean

[out] Returns true if project creation was canceled.

Remarks

By default simply sets cancel to false.

Applies to