Share via


IVsPreviewChangesList Interface

Represents a list of items in the changes tree of the Preview Changes tool window.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("B334F714-993B-4902-89E0-792213B538DB")> _
Public Interface IVsPreviewChangesList
[InterfaceTypeAttribute()]
[GuidAttribute("B334F714-993B-4902-89E0-792213B538DB")]
public interface IVsPreviewChangesList
[InterfaceTypeAttribute()]
[GuidAttribute(L"B334F714-993B-4902-89E0-792213B538DB")]
public interface class IVsPreviewChangesList
[<InterfaceTypeAttribute()>]
[<GuidAttribute("B334F714-993B-4902-89E0-792213B538DB")>]
type IVsPreviewChangesList =  interface end
public interface IVsPreviewChangesList

The IVsPreviewChangesList type exposes the following members.

Methods

  Name Description
Public method GetDisplayData Returns display data for the specified item.
Public method GetExpandable Determines if the specified item can be expanded.
Public method GetExpandedList Returns the child list of the specified item that has been expanded in the tree view.
Public method GetFlags Returns a set of flags the describes the preview list.
Public method GetItemCount Returns the number of items in the preview list.
Public method GetListChanges Returns a list of changes made to the items in the preview list.
Public method GetText Returns the specified text for the specified item in the preview list.
Public method GetTipText Returns the ToolTip text for the specified item in the preview list.
Public method LocateExpandedList Given a child list, locate its parent item in the preview list.
Public method OnClose Called when this preview list is closed (unexpanded).
Public method OnRequestSource Loads the source for the specified preview item and displays it in the given text view.
Public method ToggleState Toggles the checked state of the specified item in the preview list.
Public method UpdateCounter Updates the current change counter and returns whether any changes have been made to the preview list and if so, what kind of changes.

Top

Remarks

Notes to Implementers

The IVsLiteTreeList interface must also be implemented with this interface.

Note

Managed code implementations should implement the IVsSimplePreviewChangesList interface instead to avoid memory leaks.

Notes to Callers

This interface is obtained by calling the QueryInterface method on an IVsLiteTreeList object or by casting the IVsLiteTreeList object to the IVsPreviewChangesList interface. An IVsLiteTreeList object can be obtained by a call to the GetExpandedList method in the IVsObjectList2 interface.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace