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)


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, _
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


  • 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.


COM Signature

From designer.idl:

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

.NET Framework Security

See Also


IExtendedObject Interface

IExtendedObject Members

Microsoft.VisualStudio.Shell.Interop Namespace