IManagedObject Interface

Provides methods for controlling a managed object.

interface IManagedObject : IUnknown {

    HRESULT GetSerializedBuffer( 
        [out] BSTR *pBSTR
    HRESULT GetObjectIdentity(
        [out] BSTR* pBSTRGUID, 
        [out] int* AppDomainID,
        [out] CCW_PTR pCCW

Method Description

IManagedObject::GetObjectIdentity Method

Gets the identity of this managed object.

IManagedObject::GetSerializedBuffer Method

Gets the string representation of this managed object.

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Version: 2.0