次の方法で共有


VsTextPackageClass.GetShortcutManager(IVsShortcutManager) Method

Definition

Returns the shortcut manager.

public:
 virtual int GetShortcutManager([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsShortcutManager ^ % ppShortcutMgr) = Microsoft::VisualStudio::TextManager::Interop::IVsTextManager::GetShortcutManager;
public:
 virtual int GetShortcutManager([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsShortcutManager ^ % ppShortcutMgr);
public:
 virtual int GetShortcutManager([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsShortcutManager ^ &  ppShortcutMgr) = Microsoft::VisualStudio::TextManager::Interop::IVsTextManager::GetShortcutManager;
 virtual int GetShortcutManager([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsShortcutManager const & & ppShortcutMgr);
public virtual int GetShortcutManager (out Microsoft.VisualStudio.TextManager.Interop.IVsShortcutManager ppShortcutMgr);
abstract member GetShortcutManager : IVsShortcutManager -> int
override this.GetShortcutManager : IVsShortcutManager -> int
Public Overridable 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.

Implements

Applies to