IWpfDifferenceViewerFactoryService::TryGetViewerForTextView Method (ITextView^)

 

If the given text view is owned by a difference viewer, retrieve that difference viewer.

Namespace:   Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

IWpfDifferenceViewer^ TryGetViewerForTextView(
	ITextView^ textView
)

Parameters

textView
Type: Microsoft.VisualStudio.Text.Editor::ITextView^

The text view for which to find the difference viewer.

Return Value

Type: Microsoft.VisualStudio.Text.Differencing::IWpfDifferenceViewer^

Returns a IWpfDifferenceViewer, if one exists, Ootherwise, null..

Return to top
Show: