Udostępnij za pośrednictwem


FlavoredProject.IVsAggregatableProject.InitializeForOuter Method

Definition

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

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.InitializeForOuter(System::String ^ fileName, System::String ^ location, System::String ^ name, System::UInt32 flags, Guid % guidProject, [Runtime::InteropServices::Out] IntPtr % project, [Runtime::InteropServices::Out] int % canceled) = Microsoft::VisualStudio::Shell::Interop::IVsAggregatableProject::InitializeForOuter;
int IVsAggregatableProject.InitializeForOuter (string fileName, string location, string name, uint flags, ref Guid guidProject, out IntPtr project, out int canceled);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.InitializeForOuter : string * string * string * uint32 * Guid * nativeint * int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.InitializeForOuter : string * string * string * uint32 * Guid * nativeint * int -> int
Function InitializeForOuter (fileName As String, location As String, name As String, flags As UInteger, ByRef guidProject As Guid, ByRef project As IntPtr, ByRef canceled As Integer) As Integer Implements IVsAggregatableProject.InitializeForOuter

Parameters

fileName
String

The project file name of the project to be initialized.

location
String

The path of the project file.

name
String

The name of the project.

flags
UInt32

Flags that describe how a project is to be created or opened. Values are taken from the __VSCREATEPROJFLAGS enumeration.

guidProject
Guid

[ref] The interface ID of the project. It should be Microsoft.VisualStudio.NativeMethods.IID_IUnknown.

project
IntPtr

nativeint

[out] A pointer to the project.

canceled
Int32

[out] true if the project was canceled.

Returns

If the method succeeds, S_OK, otherwise an error code.

Implements

Remarks

This method calls InitializeForOuter.

Applies to