IWpfDifferenceViewerFactoryService::CreateDifferenceView Method (IDifferenceBuffer^, ITextViewRoleSet^, IEditorOptions^)

 

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)

IWpfDifferenceViewer^ CreateDifferenceView(
	IDifferenceBuffer^ buffer,
	ITextViewRoleSet^ roles,
	IEditorOptions^ parentOptions = null
)

Parameters

buffer
Type: Microsoft.VisualStudio.Text.Differencing::IDifferenceBuffer^

The difference buffer to display.

roles
Type: Microsoft.VisualStudio.Text.Editor::ITextViewRoleSet^

The text view roles to use for the created views.

parentOptions
Type: Microsoft.VisualStudio.Text.Editor::IEditorOptions^

The parent of the editor options for the difference viewer (if null, the global options are the parent).

Return to top
Show: