FlavoredProject.IVsAggregatableProject.SetInnerProject Method
Sets up the inner project as well as the necessary interface pointers.
Namespace: Microsoft.VisualStudio.Shell.Flavor
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Dichiarazione
Private Function SetInnerProject ( _
inner As Object _
) As Integer Implements IVsAggregatableProject.SetInnerProject
'Utilizzo
Dim instance As FlavoredProject
Dim inner As Object
Dim returnValue As Integer
returnValue = CType(instance, IVsAggregatableProject).SetInnerProject(inner)
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: System.Object
The IUnknown of the inner project subtype.
Return Value
Type: System.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(IntPtr).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.