IVsEditorAdaptersFactoryService::GetViewAdapter Method (ITextView^)
Visual Studio 2015
Get the IVsTextView adapter for this text view (if it exists).
Assembly: Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)
Parameters
- textView
-
Type:
Microsoft.VisualStudio.Text.Editor::ITextView^
The text view of interest.
Return Value
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextView^The text view adapter, or null if no adapter exists.
| Exception | Condition |
|---|---|
| ArgumentNullException | textView is null. |
Adapters are generally built only for document windows.
Show: