共用方式為


IPersistStreamInit Interface

Definition

Saves and loads objects from a stream. Replaces IPersistStream and adds an initialization method. Inherits from IPersist. For more information, see IPersistStreamInit.

public interface class IPersistStreamInit : Microsoft::VisualStudio::OLE::Interop::IPersist
public interface class IPersistStreamInit : Microsoft::VisualStudio::OLE::Interop::IPersist
__interface IPersistStreamInit : Microsoft::VisualStudio::OLE::Interop::IPersist
[System.Runtime.InteropServices.Guid("7FD52380-4E07-101B-AE2D-08002B2EC713")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IPersistStreamInit : Microsoft.VisualStudio.OLE.Interop.IPersist
[System.Runtime.InteropServices.Guid("7FD52380-4E07-101B-AE2D-08002B2EC713")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IPersistStreamInit : Microsoft.VisualStudio.OLE.Interop.IPersist
[<System.Runtime.InteropServices.Guid("7FD52380-4E07-101B-AE2D-08002B2EC713")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IPersistStreamInit = interface
    interface IPersist
[<System.Runtime.InteropServices.Guid("7FD52380-4E07-101B-AE2D-08002B2EC713")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IPersistStreamInit = interface
    interface IPersist
Public Interface IPersistStreamInit
Implements IPersist
Attributes
Implements

Methods

GetClassID(Guid)
GetSizeMax(ULARGE_INTEGER[])
InitNew()
IsDirty()
Load(IStream)
Save(IStream, Int32)

Applies to