Condividi tramite


IVsAggregatableProjectCorrected Interface

Implemented by a project that supports adding project subtypes through aggregation.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

'Dichiarazione
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("ffb2e715-7312-4b93-83d7-d37bcc561c90")> _
<CLSCompliantAttribute(False)> _
Public Interface IVsAggregatableProjectCorrected
'Utilizzo
Dim instance As IVsAggregatableProjectCorrected
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("ffb2e715-7312-4b93-83d7-d37bcc561c90")]
[CLSCompliantAttribute(false)]
public interface IVsAggregatableProjectCorrected
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"ffb2e715-7312-4b93-83d7-d37bcc561c90")]
[CLSCompliantAttribute(false)]
public interface class IVsAggregatableProjectCorrected
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("ffb2e715-7312-4b93-83d7-d37bcc561c90")>]
[<CLSCompliantAttribute(false)>]
type IVsAggregatableProjectCorrected =  interface end
public interface IVsAggregatableProjectCorrected

Remarks

This interface is similar to the IVsAggregatableProjectinterface, except that IUnknown pointers are passed as IntPtr instead of object. This ensures that it provides the actual IUnknown pointer and not a wrapped managed proxy pointer.

A project subtype must be implemented by a valid VSPackage that implements the IVsPackage interface and provides a project factory that supports the IVsAggregatableProjectFactory and IVsAggregatableProject interfaces. A project subtype is registered in the system registry similar to a normal project. Project subtype adds a unique GUID under the following location in the registry:

HKLM\Software\Microsoft\VisualStudio\[targeted version of VSIP]\Projects

Notes to Implementers

Implement the IVsAggregatableProject interface when your project supports project subtypes through aggregation. Each level in project aggregation has to implement this interface as well as have a project factory that implements the IVsAggregatableProjectFactory interface.

See Also

Reference

IVsAggregatableProjectCorrected Members

Microsoft.VisualStudio.Shell.Flavor Namespace