Freigeben über


IVsTextManager.GetShortcutManager(IVsShortcutManager) Method

Definition

Returns the shortcut manager.

public:
 int GetShortcutManager([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsShortcutManager ^ % ppShortcutMgr);
public:
 int GetShortcutManager([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsShortcutManager ^ &  ppShortcutMgr);
int GetShortcutManager([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsShortcutManager const & & ppShortcutMgr);
public int GetShortcutManager (out Microsoft.VisualStudio.TextManager.Interop.IVsShortcutManager ppShortcutMgr);
abstract member GetShortcutManager : IVsShortcutManager -> int
Public Function GetShortcutManager (ByRef ppShortcutMgr As IVsShortcutManager) As Integer

Parameters

ppShortcutMgr
IVsShortcutManager

[out] Pointer to the IVsShortcutManager interface, which is used to manage shortcuts in the task list.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextManager::GetShortcutManager(  
   [out]IVsShortcutManager **ppShortcutMgr  
);  

Applies to