IVsCreateAggregateProject::CreateAggregateProject Method (String^, String^, String^, String^, UInt32, Guid, IntPtr)

 

This method is implemented by the environment to create an aggregate project, which in turn creates a system of aggregate vsiptecflavors.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int CreateAggregateProject(
	String^ pszProjectTypeGuids,
	String^ pszFilename,
	String^ pszLocation,
	String^ pszName,
	unsigned int grfCreateFlags,
	[InAttribute] Guid% iidProject,
	[OutAttribute] IntPtr% ppvProject
)

Parameters

pszProjectTypeGuids
Type: System::String^

[in] List of GUIDs in a string that specifies all the project types to aggregate together to create a single project. This is an ordered list from the outer-most vsiptecflavors to the inner-most vsiptecflavors.

pszFilename
Type: System::String^

[in] Pointer to a null-terminated string containing the project filename.

pszLocation
Type: System::String^

[in] Pointer to the path specifying the location for the new aggregate project.

pszName
Type: System::String^

[in] Pointer to the new aggregate project name. This parameter is used only when CPF_CLONEFILE is specified for the grfCreateFlags parameter; otherwise it is null.

grfCreateFlags
Type: System::UInt32

[in] Controls how a project is created or opened. Values are taken from __VSCREATEPROJFLAGS and __VSCREATEPROJFLAGS2.

iidProject
Type: System::Guid

[in] Interface identifier of the returned ppvProject. This value can be iid_NULL to specify no return

ppvProject
Type: System::IntPtr

[out, iid_is(iidProject)] Pointer to the newly created aggregated project.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell80.idl:

HRESULT IVsCreateAggregateProject::CreateAggregateProject(
   [in] LPCOLESTR pszProjectTypeGuids,
   [in] LPCOLESTR pszFilename,
   [in] LPCOLESTR pszLocation,
   [in] LPCOLESTR pszName,
   [in] VSCREATEPROJFLAGS grfCreateFlags,
   [in] REFIID iidProject,
   [out, iid_is(iidProject)] void **ppvProject
);
Return to top
Show: