Compartir a través de


IDifferenceBufferFactoryService.CreateDifferenceBuffer Method (ITextBuffer, ITextBuffer)

Creates an IDifferenceBuffer for the given left and right buffers.

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

Syntax

'Declaration
Function CreateDifferenceBuffer ( _
    leftBaseBuffer As ITextBuffer, _
    rightBaseBuffer As ITextBuffer _
) As IDifferenceBuffer
IDifferenceBuffer CreateDifferenceBuffer(
    ITextBuffer leftBaseBuffer,
    ITextBuffer rightBaseBuffer
)
IDifferenceBuffer^ CreateDifferenceBuffer(
    ITextBuffer^ leftBaseBuffer, 
    ITextBuffer^ rightBaseBuffer
)
abstract CreateDifferenceBuffer : 
        leftBaseBuffer:ITextBuffer * 
        rightBaseBuffer:ITextBuffer -> IDifferenceBuffer
function CreateDifferenceBuffer(
    leftBaseBuffer : ITextBuffer, 
    rightBaseBuffer : ITextBuffer
) : IDifferenceBuffer

Parameters

Return Value

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

Remarks

This is equivalent to calling CreateDifferenceBuffer(left, right, new StringDifferenceOptions());.

.NET Framework Security

See Also

Reference

IDifferenceBufferFactoryService Interface

CreateDifferenceBuffer Overload

Microsoft.VisualStudio.Text.Differencing Namespace