IVsAggregatableProject.SetInnerProject Method
This method is used to pass in the pointer to the inner IUnknown of the project subtype that is being aggregated.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣言
Function SetInnerProject ( _
punkInner As Object _
) As Integer
'使用
Dim instance As IVsAggregatableProject
Dim punkInner As Object
Dim returnValue As Integer
returnValue = instance.SetInnerProject(punkInner)
int SetInnerProject(
Object punkInner
)
int SetInnerProject(
[InAttribute] Object^ punkInner
)
function SetInnerProject(
punkInner : Object
) : int
Parameters
punkInner
Type: System.Object[in] Pointer to 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.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsAggregatableProject::SetInnerProject([in] IUnknown *punkInner);
Permissions
- 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.
See Also
Reference
IVsAggregatableProject Interface