IVsShortcutManager.CreateItem(Int32, IVsTextLines, String) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Belirtilen metin arabelleği için bir kısayol oluşturur.
public:
int CreateItem(int iShortcutLine, Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ pBuffer, System::String ^ pszBufMoniker);
public:
int CreateItem(int iShortcutLine, Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ pBuffer, Platform::String ^ pszBufMoniker);
int CreateItem(int iShortcutLine, Microsoft::VisualStudio::TextManager::Interop::IVsTextLines const & pBuffer, std::wstring const & pszBufMoniker);
public int CreateItem (int iShortcutLine, Microsoft.VisualStudio.TextManager.Interop.IVsTextLines pBuffer, string pszBufMoniker);
abstract member CreateItem : int * Microsoft.VisualStudio.TextManager.Interop.IVsTextLines * string -> int
Public Function CreateItem (iShortcutLine As Integer, pBuffer As IVsTextLines, pszBufMoniker As String) As Integer
Parametreler
- iShortcutLine
- Int32
'ndaki Kısayol satırı dizini.
- pBuffer
- IVsTextLines
'ndaki Metin çizgilerinin arabelleği.
- pszBufMoniker
- String
'ndaki Arabellek bilinen adı.
Döndürülenler
Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.
Açıklamalar
COM Imzası
Textmgr. IDL dosyasından:
HRESULT IVsShortcutManager::CreateItem(
[in]long iShortcutLine,
[in]IVsTextLines* pBuffer,
[in]LPCOLESTR pszBufMoniker
);