IVsLanguageInfo.GetCodeWindowManager 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.
Bir dilin kod düzenleyicisine donnments eklemesine izin verir.
public:
int GetCodeWindowManager(Microsoft::VisualStudio::TextManager::Interop::IVsCodeWindow ^ pCodeWin, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsCodeWindowManager ^ % ppCodeWinMgr);
public:
int GetCodeWindowManager(Microsoft::VisualStudio::TextManager::Interop::IVsCodeWindow ^ pCodeWin, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsCodeWindowManager ^ & ppCodeWinMgr);
int GetCodeWindowManager(Microsoft::VisualStudio::TextManager::Interop::IVsCodeWindow const & pCodeWin, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsCodeWindowManager const & & ppCodeWinMgr);
public int GetCodeWindowManager (Microsoft.VisualStudio.TextManager.Interop.IVsCodeWindow pCodeWin, out Microsoft.VisualStudio.TextManager.Interop.IVsCodeWindowManager ppCodeWinMgr);
abstract member GetCodeWindowManager : Microsoft.VisualStudio.TextManager.Interop.IVsCodeWindow * IVsCodeWindowManager -> int
Public Function GetCodeWindowManager (pCodeWin As IVsCodeWindow, ByRef ppCodeWinMgr As IVsCodeWindowManager) As Integer
Parametreler
- pCodeWin
- IVsCodeWindow
'ndaki IVsCodeWindow İstenen kod Düzenleyicisi Yöneticisi için arabirim.
- ppCodeWinMgr
- IVsCodeWindowManager
dışı Bir IVsCodeWindowManager nesne döndürür.
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 IVsLanguageInfo::GetCodeWindowManager(
[in] IVsCodeWindow *pCodeWin,
[out] IVsCodeWindowManager **ppCodeWinMgr
);
Visual Studio Bu yöntemi, arabirim tarafından temsil edilen bir kod penceresi Yöneticisi elde etmek IVsCodeWindowManager ve bir açılan çubuk gibi olası donatıları eklemek için dil hizmetinin kod penceresine erişimine izin vermek için çağırır. Bu yöntem, bir dil paketi yüklendikten sonra çağrılan ikinci yöntemdir (ilk yöntem, SetSite dil paketinin kendisidir).