共用方式為


IPersistMemory Interface

Definition

Saves and loads objects from a stream. Inherits from IPersist. For more information, see IPersistMemory.

public interface class IPersistMemory : Microsoft::VisualStudio::OLE::Interop::IPersist
public interface class IPersistMemory : Microsoft::VisualStudio::OLE::Interop::IPersist
__interface IPersistMemory : Microsoft::VisualStudio::OLE::Interop::IPersist
[System.Runtime.InteropServices.Guid("BD1AE5E0-A6AE-11CE-BD37-504200C10000")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IPersistMemory : Microsoft.VisualStudio.OLE.Interop.IPersist
[System.Runtime.InteropServices.Guid("BD1AE5E0-A6AE-11CE-BD37-504200C10000")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IPersistMemory : Microsoft.VisualStudio.OLE.Interop.IPersist
[<System.Runtime.InteropServices.Guid("BD1AE5E0-A6AE-11CE-BD37-504200C10000")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IPersistMemory = interface
    interface IPersist
[<System.Runtime.InteropServices.Guid("BD1AE5E0-A6AE-11CE-BD37-504200C10000")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IPersistMemory = interface
    interface IPersist
Public Interface IPersistMemory
Implements IPersist
Attributes
Implements

Methods

GetClassID(Guid)
GetSizeMax(UInt32)
InitNew()
IsDirty()
Load(Byte[], UInt32)
Save(Byte[], Int32, UInt32)

Applies to