Share via


IWpfDifferenceViewerFactoryService.CreateDifferenceView Method (IDifferenceBuffer, CreateTextViewHostCallback, IEditorOptions)

Create an IDifferenceViewer over the given IDifferenceBuffer, using the given callback to create the individual views (inline, left, and right).

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

Syntax

'Declaration
Function CreateDifferenceView ( _
    buffer As IDifferenceBuffer, _
    callback As CreateTextViewHostCallback, _
    parentOptions As IEditorOptions _
) As IWpfDifferenceViewer
IWpfDifferenceViewer CreateDifferenceView(
    IDifferenceBuffer buffer,
    CreateTextViewHostCallback callback,
    IEditorOptions parentOptions
)
IWpfDifferenceViewer^ CreateDifferenceView(
    IDifferenceBuffer^ buffer, 
    CreateTextViewHostCallback^ callback, 
    IEditorOptions^ parentOptions
)
abstract CreateDifferenceView : 
        buffer:IDifferenceBuffer * 
        callback:CreateTextViewHostCallback * 
        parentOptions:IEditorOptions -> IWpfDifferenceViewer
function CreateDifferenceView(
    buffer : IDifferenceBuffer, 
    callback : CreateTextViewHostCallback, 
    parentOptions : IEditorOptions
) : IWpfDifferenceViewer

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

IWpfDifferenceViewerFactoryService Interface

CreateDifferenceView Overload

Microsoft.VisualStudio.Text.Differencing Namespace