IVsShortcutManager::CreateItem Method (Int32, IVsTextLines^, String^)
Visual Studio 2015
Creates a shortcut for the specified text buffer.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- iShortcutLine
-
Type:
System::Int32
[in] The shortcut line index.
- pBuffer
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsTextLines^
[in] The buffer of text lines.
- pszBufMoniker
-
Type:
System::String^
[in] The buffer moniker.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsShortcutManager::CreateItem( [in]long iShortcutLine, [in]IVsTextLines* pBuffer, [in]LPCOLESTR pszBufMoniker );
Show: