共用方式為


IVsNewDocumentStateContext Interface

Definition

Deterministically restores the document state at a specific point in time.

public interface class IVsNewDocumentStateContext
public interface class IVsNewDocumentStateContext
__interface IVsNewDocumentStateContext
public interface IVsNewDocumentStateContext
[System.Runtime.InteropServices.Guid("44DD5120-6DFB-4590-A5CB-1066114996CA")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsNewDocumentStateContext
type IVsNewDocumentStateContext = interface
[<System.Runtime.InteropServices.Guid("44DD5120-6DFB-4590-A5CB-1066114996CA")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsNewDocumentStateContext = interface
Public Interface IVsNewDocumentStateContext
Attributes

Methods

Restore()

Restores NewDocumentState to the value it had before this context was created by SetNewDocumentState(UInt32, Guid). This method is implicitly called on final release of the interface.

Applies to