Share via


IExtendedObject.GetInnerObject Method

Retrieves the inner object corresponding to a GUID.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function GetInnerObject ( _
    ByRef iid As Guid, _
    <OutAttribute> ByRef ppvObject As IntPtr _
) As Integer
int GetInnerObject(
    ref Guid iid,
    out IntPtr ppvObject
)
int GetInnerObject(
    [InAttribute] Guid% iid, 
    [OutAttribute] IntPtr% ppvObject
)
abstract GetInnerObject : 
        iid:Guid byref * 
        ppvObject:IntPtr byref -> int
function GetInnerObject(
    iid : Guid, 
    ppvObject : IntPtr
) : int

Parameters

  • iid
    Type: System.Guid%

    [in] The GUID of the desired inner object.

  • ppvObject
    Type: System.IntPtr%

    [out] Reference to the inner object.

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 designer.idl:

HRESULT IExtendedObject::GetInnerObject(
   [in] REFIID iid, 
   [out, iid_is(iid)] void ** ppvObject
;

.NET Framework Security

See Also

Reference

IExtendedObject Interface

Microsoft.VisualStudio.Shell.Interop Namespace