Compartir a través de


IVsMenuEditorTransactionEvents.EndTransaction Method

Marks the end of a transaction for an editor event.

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

Syntax

'Declaration
Function EndTransaction ( _
    trans As UInteger _
) As Integer
int EndTransaction(
    uint trans
)
int EndTransaction(
    [InAttribute] unsigned int trans
)
abstract EndTransaction : 
        trans:uint32 -> int
function EndTransaction(
    trans : uint
) : int

Parameters

  • trans
    Type: UInt32

    [in] The menu editor action represented by the transaction. A value from the __MENUEDITOR_TRANSACTION enumeration.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

[C++]

HRESULT IVsMenuEditorTransactionEvents::EndTransaction(
   [in] MENUEDITOR_TRANSACTION trans
);

.NET Framework Security

See Also

Reference

IVsMenuEditorTransactionEvents Interface

Microsoft.VisualStudio.Shell.Interop Namespace