IVsAggregatableProject.GetAggregateProjectTypeGuids(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
int GetAggregateProjectTypeGuids([Runtime::InteropServices::Out] System::String ^ % pbstrProjTypeGuids);
int GetAggregateProjectTypeGuids([Runtime::InteropServices::Out] std::wstring const & & pbstrProjTypeGuids);
public int GetAggregateProjectTypeGuids (out string pbstrProjTypeGuids);
abstract member GetAggregateProjectTypeGuids : string -> int
Public Function GetAggregateProjectTypeGuids (ByRef pbstrProjTypeGuids As String) As Integer
Parameters
- pbstrProjTypeGuids
- String
[out, retval] Pointer to a string containing the project type GUIDs.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
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.
Note
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.