共用方式為


IDifferenceViewer Interface

Namespace:  Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'宣告
Public Interface IDifferenceViewer _
    Inherits IPropertyOwner
public interface IDifferenceViewer : IPropertyOwner
public interface class IDifferenceViewer : IPropertyOwner
type IDifferenceViewer =  
    interface
        interface IPropertyOwner
    end
public interface IDifferenceViewer extends IPropertyOwner

The IDifferenceViewer type exposes the following members.

Properties

  Name Description
Public property ActiveViewType
Public property AreViewsSynchronized
Public property DifferenceBuffer
Public property InlineView
Public property IsClosed
Public property LeftView
Public property Options
Public property Properties Gets the collection of properties controlled by the property owner. (Inherited from IPropertyOwner.)
Public property RightView
Public property ViewMode

Top

Methods

  Name Description
Public method Close
Public method ScrollToChange
Public method ScrollToMatch
Public method ScrollToNextChange(Boolean)
Public method ScrollToNextChange(SnapshotPoint, Boolean)
Public method ScrollToPreviousChange(Boolean)
Public method ScrollToPreviousChange(SnapshotPoint, Boolean)

Top

Events

  Name Description
Public event Closed
Public event ViewModeChanged

Top

See Also

Reference

Microsoft.VisualStudio.Text.Differencing Namespace