Compartilhar via


IVsWindowPaneCommit Interface

Allows a window to commit pending edits in a control with focus before another command is invoked.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("508ED8E9-923D-44ED-8165-5B96DA4E0829")> _
Public Interface IVsWindowPaneCommit
[InterfaceTypeAttribute()]
[GuidAttribute("508ED8E9-923D-44ED-8165-5B96DA4E0829")]
public interface IVsWindowPaneCommit
[InterfaceTypeAttribute()]
[GuidAttribute(L"508ED8E9-923D-44ED-8165-5B96DA4E0829")]
public interface class IVsWindowPaneCommit
[<InterfaceTypeAttribute()>]
[<GuidAttribute("508ED8E9-923D-44ED-8165-5B96DA4E0829")>]
type IVsWindowPaneCommit =  interface end
public interface IVsWindowPaneCommit

The IVsWindowPaneCommit type exposes the following members.

Methods

  Name Description
Public method CommitPendingEdit Allows a window to commit pending edits in a control with focus before another command is invoked.

Top

Remarks

Implemented by VSFPROPID_DocView object sited in a WindowFrame. The environment calls CommitPendingEdit before any command is executed; for example, this allows a window to commit pending edits in a control with focus before another command is invoked. This method is called frequently. A related interface that is called less frequently is FlushPendingUpdates. This is called before save operations and times when projects or other consumers want to extract data from a TextBuffer.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace