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
leftBaseBuffer
Type: Microsoft.VisualStudio.Text.ITextBufferThe left (before) buffer
rightBaseBuffer
Type: Microsoft.VisualStudio.Text.ITextBufferThe right (after) buffer.
Return Value
Type: Microsoft.VisualStudio.Text.Differencing.IDifferenceBuffer
Returns IDifferenceBuffer.
Remarks
This is equivalent to calling CreateDifferenceBuffer(left, right, new StringDifferenceOptions());.
.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.
See Also
Reference
IDifferenceBufferFactoryService Interface