Share via


CreateDifferenceView Method (IDifferenceBuffer, )

Create an IDifferenceViewer over the given IDifferenceBuffer with the given set of roles.

Namespace:  Microsoft.VisualStudio.Data.Tools.Delta
Assembly:  Microsoft.VisualStudio.Data.Tools.Delta (in Microsoft.VisualStudio.Data.Tools.Delta.dll)

Syntax

'Declaration
Function CreateDifferenceView ( _
    buffer As IDifferenceBuffer, _
    roles As ITextViewRoleSet _
) As IDifferenceViewer
'Usage
Dim instance As IDifferenceViewerFactoryService
Dim buffer As IDifferenceBuffer
Dim roles As ITextViewRoleSet
Dim returnValue As IDifferenceViewer

returnValue = instance.CreateDifferenceView(buffer, _
    roles)
IDifferenceViewer CreateDifferenceView(
    IDifferenceBuffer buffer,
    ITextViewRoleSet roles
)
IDifferenceViewer^ CreateDifferenceView(
    IDifferenceBuffer^ buffer, 
    ITextViewRoleSet^ roles
)
abstract CreateDifferenceView : 
        buffer:IDifferenceBuffer * 
        roles:ITextViewRoleSet -> IDifferenceViewer 
function CreateDifferenceView(
    buffer : IDifferenceBuffer, 
    roles : ITextViewRoleSet
) : IDifferenceViewer

Parameters

  • roles
    Type: ITextViewRoleSet
    The text view roles to use for the created views.

Return Value

Type: Microsoft.VisualStudio.Data.Tools.Delta..::..IDifferenceViewer
A difference viewer.

See Also

Reference

IDifferenceViewerFactoryService Interface

CreateDifferenceView Overload

Microsoft.VisualStudio.Data.Tools.Delta Namespace