IVsEditorAdaptersFactoryService::GetWpfTextViewHost Method (IVsTextView^)

 

Gets the text view host of a text view adapter.

Namespace:   Microsoft.VisualStudio.Editor
Assembly:  Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)

IWpfTextViewHost^ GetWpfTextViewHost(
	IVsTextView^ viewAdapter
)

Parameters

viewAdapter
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextView^

The text view adapter of interest.

Exception Condition
ArgumentNullException

viewAdapter is null.

ArgumentException

viewAdapter was not produced by this factory.

Return to top
Show: