Compartir a través de


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
    );
};

Methods

Method

Description

IManagedObject::GetObjectIdentity Method

Gets the identity of this managed object.

IManagedObject::GetSerializedBuffer Method

Gets the string representation of this managed object.

Requirements

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

See Also

Concepts

Hosting Interfaces