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: Guid%[in] The GUID of the desired inner object.
ppvObject
Type: IntPtr%[out] Reference to the inner object.
Return Value
Type: 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
- 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.