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

'宣言
Function GetInnerObject ( _
    ByRef iid As Guid, _
    <OutAttribute> ByRef ppvObject As IntPtr _
) As Integer
'使用
Dim instance As IExtendedObject
Dim iid As Guid
Dim ppvObject As IntPtr
Dim returnValue As Integer

returnValue = instance.GetInnerObject(iid, _
    ppvObject)
int GetInnerObject(
    ref Guid iid,
    out IntPtr ppvObject
)
int GetInnerObject(
    [InAttribute] Guid% iid, 
    [OutAttribute] IntPtr% ppvObject
)
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
;

Permissions

See Also

Reference

IExtendedObject Interface

IExtendedObject Members

Microsoft.VisualStudio.Shell.Interop Namespace