IVsMenuEditorTransactionEvents::BeginTransaction Method (UInt32)

 

Marks the beginning 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)

int BeginTransaction(
	unsigned int trans
)

Parameters

trans
Type: System::UInt32

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

Return Value

Type: System::Int32

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

From vsshell80.idl:

[C++]

HRESULT IVsMenuEditorTransactionEvents::BeginTransaction(
   [in] MENUEDITOR_TRANSACTION trans
);
Return to top
Show: