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 | |
---|---|---|
GetDisplayData | Returns display data for the specified item. | |
GetExpandable | Determines if the specified item can be expanded. | |
GetExpandedList | Returns the child list of the specified item that has been expanded in the tree view. | |
GetFlags | Returns a set of flags the describes the preview list. | |
GetItemCount | Returns the number of items in the preview list. | |
GetListChanges | Returns a list of changes made to the items in the preview list. | |
GetText | Returns the specified text for the specified item in the preview list. | |
GetTipText | Returns the ToolTip text for the specified item in the preview list. | |
LocateExpandedList | Given a child list, locate its parent item in the preview list. | |
OnClose | Called when this preview list is closed (unexpanded). | |
OnRequestSource | Loads the source for the specified preview item and displays it in the given text view. | |
ToggleState | Toggles the checked state of the specified item in the preview list. | |
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.