IWpfDifferenceViewerFactoryService.CreateDifferenceView Method (IDifferenceBuffer, IEditorOptions)
Namespace: Microsoft.VisualStudio.Text.Differencing
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
声明
Function CreateDifferenceView ( _
buffer As IDifferenceBuffer, _
parentOptions As IEditorOptions _
) As IWpfDifferenceViewer
IWpfDifferenceViewer CreateDifferenceView(
IDifferenceBuffer buffer,
IEditorOptions parentOptions
)
IWpfDifferenceViewer^ CreateDifferenceView(
IDifferenceBuffer^ buffer,
IEditorOptions^ parentOptions
)
abstract CreateDifferenceView :
buffer:IDifferenceBuffer *
parentOptions:IEditorOptions -> IWpfDifferenceViewer
function CreateDifferenceView(
buffer : IDifferenceBuffer,
parentOptions : IEditorOptions
) : IWpfDifferenceViewer
Parameters
- parentOptions
Type: Microsoft.VisualStudio.Text.Editor.IEditorOptions
Return Value
Type: Microsoft.VisualStudio.Text.Differencing.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.