共用方式為


IVsQueryUndoUnit Interface

Queries a linked undo set to determine if an undo action would be aborted.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("036FBE7A-9ABD-4894-B7F6-1ED3BD0EE247")> _
Public Interface IVsQueryUndoUnit
'用途
Dim instance As IVsQueryUndoUnit
[InterfaceTypeAttribute()]
[GuidAttribute("036FBE7A-9ABD-4894-B7F6-1ED3BD0EE247")]
public interface IVsQueryUndoUnit
[InterfaceTypeAttribute()]
[GuidAttribute(L"036FBE7A-9ABD-4894-B7F6-1ED3BD0EE247")]
public interface class IVsQueryUndoUnit
[<InterfaceTypeAttribute()>]
[<GuidAttribute("036FBE7A-9ABD-4894-B7F6-1ED3BD0EE247")>]
type IVsQueryUndoUnit =  interface end
public interface IVsQueryUndoUnit

Remarks

Implement this interface to allow the undo manager to query each member of a linked undo set to learn if an undo action would be aborted.

See Also

Reference

IVsQueryUndoUnit Members

Microsoft.VisualStudio.TextManager.Interop Namespace