IDifferenceBufferFactoryService.CreateDifferenceBuffer Method (ITextBuffer, ITextBuffer, StringDifferenceOptions, Boolean, Boolean, Boolean)
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, _
options As StringDifferenceOptions, _
disableEditing As Boolean, _
wrapLeftBuffer As Boolean, _
wrapRightBuffer As Boolean _
) As IDifferenceBuffer
IDifferenceBuffer CreateDifferenceBuffer(
ITextBuffer leftBaseBuffer,
ITextBuffer rightBaseBuffer,
StringDifferenceOptions options,
bool disableEditing,
bool wrapLeftBuffer,
bool wrapRightBuffer
)
IDifferenceBuffer^ CreateDifferenceBuffer(
ITextBuffer^ leftBaseBuffer,
ITextBuffer^ rightBaseBuffer,
StringDifferenceOptions options,
bool disableEditing,
bool wrapLeftBuffer,
bool wrapRightBuffer
)
abstract CreateDifferenceBuffer :
leftBaseBuffer:ITextBuffer *
rightBaseBuffer:ITextBuffer *
options:StringDifferenceOptions *
disableEditing:bool *
wrapLeftBuffer:bool *
wrapRightBuffer:bool -> IDifferenceBuffer
function CreateDifferenceBuffer(
leftBaseBuffer : ITextBuffer,
rightBaseBuffer : ITextBuffer,
options : StringDifferenceOptions,
disableEditing : boolean,
wrapLeftBuffer : boolean,
wrapRightBuffer : boolean
) : IDifferenceBuffer
Parameters
- leftBaseBuffer
Type: Microsoft.VisualStudio.Text.ITextBuffer
- rightBaseBuffer
Type: Microsoft.VisualStudio.Text.ITextBuffer
- disableEditing
Type: System.Boolean
- wrapLeftBuffer
Type: System.Boolean
- wrapRightBuffer
Type: System.Boolean
Return Value
Type: Microsoft.VisualStudio.Text.Differencing.IDifferenceBuffer
.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