Partager via


IVsDifferenceLegendElementProvider Interface

Creates a FrameworkElement that is displayed in the legend margin of the difference code window.

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

Syntax

'Declaration
Public Interface IVsDifferenceLegendElementProvider
public interface IVsDifferenceLegendElementProvider
public interface class IVsDifferenceLegendElementProvider
type IVsDifferenceLegendElementProvider =  interface end
public interface IVsDifferenceLegendElementProvider

The IVsDifferenceLegendElementProvider type exposes the following members.

Methods

  Name Description
Public method CreateLegendElement Creates a FrameworkElement that will be displayed in the legend of the difference code window.

Top

Remarks

This is a MEF Component and can be exported as follows:

[Export(typeof(IVsDifferenceLegendElementFactory))]
    [Name(...)]
     [Replaces(...)]
     [Order(After = ..., Before = ...)]
     [TextViewRole(...)]

The [Replaces(...)] attribute is optional. If specified, it indicates that this provider replaces the specified provider.

See Also

Reference

Microsoft.VisualStudio.Editor Namespace