Dela via


IVsNewDocumentStateContext Interface

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

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("44DD5120-6DFB-4590-A5CB-1066114996CA")> _
Public Interface IVsNewDocumentStateContext
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("44DD5120-6DFB-4590-A5CB-1066114996CA")]
public interface IVsNewDocumentStateContext
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"44DD5120-6DFB-4590-A5CB-1066114996CA")]
public interface class IVsNewDocumentStateContext
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("44DD5120-6DFB-4590-A5CB-1066114996CA")>]
type IVsNewDocumentStateContext =  interface end
public interface IVsNewDocumentStateContext

The IVsNewDocumentStateContext type exposes the following members.

Methods

  Name Description
Public method Restore Restores NewDocumentState to the value it had before this context was created by SetNewDocumentState. This method is implicitly called on final release of the interface.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace