Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Create an IDifferenceViewer over the given IDifferenceBuffer with the given set of roles.
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, _
roles As ITextViewRoleSet, _
parentOptions As IEditorOptions _
) As IWpfDifferenceViewer
IWpfDifferenceViewer CreateDifferenceView(
IDifferenceBuffer buffer,
ITextViewRoleSet roles,
IEditorOptions parentOptions
)
IWpfDifferenceViewer^ CreateDifferenceView(
IDifferenceBuffer^ buffer,
ITextViewRoleSet^ roles,
IEditorOptions^ parentOptions
)
abstract CreateDifferenceView :
buffer:IDifferenceBuffer *
roles:ITextViewRoleSet *
parentOptions:IEditorOptions -> IWpfDifferenceViewer
function CreateDifferenceView(
buffer : IDifferenceBuffer,
roles : ITextViewRoleSet,
parentOptions : IEditorOptions
) : IWpfDifferenceViewer
Parameters
buffer
Type: Microsoft.VisualStudio.Text.Differencing.IDifferenceBufferThe difference buffer to display.
roles
Type: Microsoft.VisualStudio.Text.Editor.ITextViewRoleSetThe text view roles to use for the created views.
parentOptions
Type: Microsoft.VisualStudio.Text.Editor.IEditorOptionsThe parent of the editor options for the difference viewer (if nulla null reference (Nothing in Visual Basic), the global options are the parent).
Return Value
Type: Microsoft.VisualStudio.Text.Differencing.IWpfDifferenceViewer
Returns IWpfDifferenceViewer.
.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.