Share via


IVsMenuEditorTransactionEvents.EndTransaction(UInt32) Method

Definition

Marks the end of a transaction for an editor event.

public:
 int EndTransaction(System::UInt32 trans);
public:
 int EndTransaction(unsigned int trans);
int EndTransaction(unsigned int trans);
public int EndTransaction (uint trans);
abstract member EndTransaction : uint32 -> int
Public Function EndTransaction (trans As UInteger) As Integer

Parameters

trans
UInt32

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

Returns

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  
);  

Applies to