IVsAggregatableProject::GetAggregateProjectTypeGuids Method (String^)

 

Gets the list of project type GUIDs that make up the aggregate project. This method should be delegated to the innermost project within the system of aggregated project subtypes.

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

int GetAggregateProjectTypeGuids(
	[OutAttribute] String^% pbstrProjTypeGuids
)

Parameters

pbstrProjTypeGuids
Type: System::String^

[out, retval] Pointer to a string containing the project type GUIDs.

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 IVsAggregatableProject::GetAggregateProjectTypeGuids(
   [out] BSTR *pbstrProjTypeGuids
);

The Project type GUIDs are a semi-colon delimited list of project factory GUIDs in order of aggregation from outer-most project subtype to the inner-most project subtype. This list also includes the GUID of the inner (base) project. This list is managed by the inner-most project and is persisted in its project file.

System_CAPS_noteNote

It is not necessary for the GUID of the base project itself to be persisted in the project file. The inner-most base project may also choose to strip its own GUID before persisting and implicitly adding it when retrieving the list of GUIDs.

Return to top
Show: