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
codeWindow
Type: Microsoft.VisualStudio.Editor.IVsDifferenceCodeWindowThe code window in which the legend will be displayed.
Return Value
Type: FrameworkElement
A FrameworkElement to display, or nulla null reference (Nothing in Visual Basic).
.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.