LanguageService.GetCodeWindowManagerForView(IVsTextView) Yöntem

Tanım

CodeWindowManagerBelirtilen nesneyle ilişkili olan öğesini döndürür IVsTextView .

public:
 Microsoft::VisualStudio::Package::CodeWindowManager ^ GetCodeWindowManagerForView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ view);
Microsoft::VisualStudio::Package::CodeWindowManager GetCodeWindowManagerForView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & view);
public Microsoft.VisualStudio.Package.CodeWindowManager GetCodeWindowManagerForView (Microsoft.VisualStudio.TextManager.Interop.IVsTextView view);
member this.GetCodeWindowManagerForView : Microsoft.VisualStudio.TextManager.Interop.IVsTextView -> Microsoft.VisualStudio.Package.CodeWindowManager
Public Function GetCodeWindowManagerForView (view As IVsTextView) As CodeWindowManager

Parametreler

view
IVsTextView

'ndaki IVsTextView İlişkili nesnenin alınacağı nesne CodeWindowManager .

Döndürülenler

CodeWindowManager

Başarılı olursa, bir CodeWindowManager nesnesi döndürür; Aksi takdirde, CodeWindowManager belirtilen nesne için ilişkili nesne olmadığını belirten null bir değer döndürür IVsTextView .

Açıklamalar

Her biri CodeWindowManager bir nesneyle ilişkilendirilir IVsTextView . Bu yöntem CodeWindowManager , eşleşen bir nesnesine sahip olan bir iç liste arar IVsTextView ve bulunan CodeWindowManager nesneyi döndürür.

Varsayılan dil hizmetinde, bu yöntem Microsoft.VisualStudio.Package.LanguageService.OnIdle ve ' den çağırılır Microsoft.VisualStudio.Package.LanguageService.SynchronizeDropdowns .

Şunlara uygulanır