共用方式為


IWpfDifferenceViewerFactoryService.CreateDifferenceView Method (IDifferenceBuffer, ITextViewRoleSet, 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, _
    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

Return Value

Type: Microsoft.VisualStudio.Text.Differencing.IWpfDifferenceViewer

.NET Framework Security

See Also

Reference

IWpfDifferenceViewerFactoryService Interface

CreateDifferenceView Overload

Microsoft.VisualStudio.Text.Differencing Namespace