Partager via


FlavoredProject.IVsAggregatableProject.SetInnerProject(Object) Method

Definition

Sets up the inner project as well as the necessary interface pointers.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.SetInnerProject(System::Object ^ inner) = Microsoft::VisualStudio::Shell::Interop::IVsAggregatableProject::SetInnerProject;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.SetInnerProject(Platform::Object ^ inner) = Microsoft::VisualStudio::Shell::Interop::IVsAggregatableProject::SetInnerProject;
int Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.SetInnerProject(winrt::Windows::Foundation::IInspectable const & inner);
int IVsAggregatableProject.SetInnerProject (object inner);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.SetInnerProject : obj -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.SetInnerProject : obj -> int
Function SetInnerProject (inner As Object) As Integer Implements IVsAggregatableProject.SetInnerProject

Parameters

inner
Object

The IUnknown of the inner project subtype.

Returns

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

Implements

Remarks

This method sets up the interface pointers innerVsAggregatableProject, innerVsHierarchy, and innerVsUIHierarchy, then calls <xref:Microsoft.VisualStudio.ProjectAggregator2.Interop.IVsProjectAggregator2.SetInner%2A>.

Applies to