Bagikan melalui


IVsDifferenceLegendElementProvider.CreateLegendElement Method

Creates a FrameworkElement that will be displayed in the legend of the difference code window.

Namespace:  Microsoft.VisualStudio.Editor
Assembly:  Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)

Syntax

'Declaration
Function CreateLegendElement ( _
    codeWindow As IVsDifferenceCodeWindow _
) As FrameworkElement
FrameworkElement CreateLegendElement(
    IVsDifferenceCodeWindow codeWindow
)
FrameworkElement^ CreateLegendElement(
    IVsDifferenceCodeWindow^ codeWindow
)
abstract CreateLegendElement : 
        codeWindow:IVsDifferenceCodeWindow -> FrameworkElement
function CreateLegendElement(
    codeWindow : IVsDifferenceCodeWindow
) : FrameworkElement

Parameters

Return Value

Type: FrameworkElement
A FrameworkElement to display, or nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

IVsDifferenceLegendElementProvider Interface

Microsoft.VisualStudio.Editor Namespace