FlavoredProject::IVsAggregatableProject::InitializeForOuter Method (String^, String^, String^, UInt32, Guid, IntPtr, Int32)

 

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

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

private:
virtual int InitializeForOuter(
	String^ fileName,
	String^ location,
	String^ name,
	unsigned int flags,
	Guid% guidProject,
	[OutAttribute] IntPtr% project,
	[OutAttribute] int% canceled
) sealed = IVsAggregatableProject::InitializeForOuter

Parameters

fileName
Type: System::String^

The project file name of the project to be initialized.

location
Type: System::String^

The path of the project file. 

name
Type: System::String^

The name of the project.

flags
Type: System::UInt32

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

guidProject
Type: System::Guid

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

project
Type: System::IntPtr

[out] A pointer to the project. 

canceled
Type: System::Int32

[out] true if the project was canceled. 

Return Value

Type: System::Int32

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

This method calls InitializeForOuter.

Return to top
Show: