Share via


FlavoredProject.IVsAggregatableProject.SetInnerProject Method

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

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Private Function SetInnerProject ( _
    inner As Object _
) As Integer Implements IVsAggregatableProject.SetInnerProject
int IVsAggregatableProject.SetInnerProject(
    Object inner
)
private:
virtual int SetInnerProject(
    Object^ inner
) sealed = IVsAggregatableProject::SetInnerProject
private abstract SetInnerProject : 
        inner:Object -> int  
private override SetInnerProject : 
        inner:Object -> int
JScript does not support explicit interface implementations.

Parameters

  • inner
    Type: Object

    The IUnknown of the inner project subtype.

Return Value

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

Implements

IVsAggregatableProject.SetInnerProject(Object)

Remarks

This method sets up the interface pointers innerVsAggregatableProject, innerVsHierarchy, and innerVsUIHierarchy, then calls SetInner.

.NET Framework Security

See Also

Reference

FlavoredProject Class

Microsoft.VisualStudio.Shell.Flavor Namespace