Condividi tramite


IVsAggregatableProject.GetAggregateProjectTypeGuids Method

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)

Syntax

'Declaration
Function GetAggregateProjectTypeGuids ( _
    <OutAttribute> ByRef pbstrProjTypeGuids As String _
) As Integer
int GetAggregateProjectTypeGuids(
    out string pbstrProjTypeGuids
)
int GetAggregateProjectTypeGuids(
    [OutAttribute] String^% pbstrProjTypeGuids
)
abstract GetAggregateProjectTypeGuids : 
        pbstrProjTypeGuids:string byref -> int
function GetAggregateProjectTypeGuids(
    pbstrProjTypeGuids : String
) : int

Parameters

  • pbstrProjTypeGuids
    Type: String%

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

Return Value

Type: Int32
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.

.NET Framework Security

See Also

Reference

IVsAggregatableProject Interface

Microsoft.VisualStudio.Shell.Interop Namespace