IVsUndoRedoClusterWithCommitEvents.OnUndoRedoClusterClosingWithCommitGesture Method
Fires when an undo or redo cluster is closing.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
‘선언
Sub OnUndoRedoClusterClosingWithCommitGesture ( _
dwGestureFlags As UInteger, _
ptsChanged As TextSpan() _
)
void OnUndoRedoClusterClosingWithCommitGesture(
uint dwGestureFlags,
TextSpan[] ptsChanged
)
void OnUndoRedoClusterClosingWithCommitGesture(
[InAttribute] unsigned int dwGestureFlags,
[InAttribute] array<TextSpan>^ ptsChanged
)
abstract OnUndoRedoClusterClosingWithCommitGesture :
dwGestureFlags:uint32 *
ptsChanged:TextSpan[] -> unit
function OnUndoRedoClusterClosingWithCommitGesture(
dwGestureFlags : uint,
ptsChanged : TextSpan[]
)
Parameters
- dwGestureFlags
Type: System.UInt32
[in] Flags for the commit gesture.
- ptsChanged
Type: array<Microsoft.VisualStudio.TextManager.Interop.TextSpan[]
[in] The text span that changed.
Remarks
An intervening commit gesture must have occurred while the undo or redo cluster was open. Clients are explicitly forbidden from modifying the buffer in response to this event.
COM Signature
From textmgr.idl:
HRESULT IVsUndoRedoClusterWithCommitEvents::OnUndoRedoClusterClosingWithCommitGesture(
[in] DWORD dwGestureFlags,
[in] TextSpan *ptsChanged
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.