共用方式為


IMalloc Interface

Allocates, frees, and manages memory. In general, use an existing implementation such as that provided by the CoGetMalloc function. For more information, see IMalloc.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("00000002-0000-0000-C000-000000000046")> _
Public Interface IMalloc
'用途
Dim instance As IMalloc
[InterfaceTypeAttribute()]
[GuidAttribute("00000002-0000-0000-C000-000000000046")]
public interface IMalloc
[InterfaceTypeAttribute()]
[GuidAttribute(L"00000002-0000-0000-C000-000000000046")]
public interface class IMalloc
[<InterfaceTypeAttribute()>]
[<GuidAttribute("00000002-0000-0000-C000-000000000046")>]
type IMalloc =  interface end
public interface IMalloc

See Also

Reference

IMalloc Members

Microsoft.VisualStudio.OLE.Interop Namespace