Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Function TryGetViewerForTextView ( _
textView As ITextView _
) As IWpfDifferenceViewer
IWpfDifferenceViewer TryGetViewerForTextView(
ITextView textView
)
IWpfDifferenceViewer^ TryGetViewerForTextView(
ITextView^ textView
)
abstract TryGetViewerForTextView :
textView:ITextView -> IWpfDifferenceViewer
function TryGetViewerForTextView(
textView : ITextView
) : IWpfDifferenceViewer
Parameters
textView
Type: Microsoft.VisualStudio.Text.Editor.ITextViewThe text view for which to find the difference viewer.
Return Value
Type: Microsoft.VisualStudio.Text.Differencing.IWpfDifferenceViewer
Returns a IWpfDifferenceViewer, if one exists, Ootherwise, nulla null reference (Nothing in Visual Basic)..
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.