IVsSimplePreviewChangesList Interface

This is a simplified version of the IVsPreviewChangesList interface.

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

[InterfaceTypeAttribute()]
[GuidAttribute("C42D228E-B275-4FE6-8469-F3184663B883")]
public interface IVsSimplePreviewChangesList

The IVsSimplePreviewChangesList type exposes the following members.

  NameDescription
Public methodGetDisplayDataReturns display data for the specified item.
Public methodGetExpandableDetermines if the specified item can be expanded.
Public methodGetExpandedListReturns the child list of the specified item that has been expanded in the tree view.
Public methodGetItemCountReturns the number of items in the preview list.
Public methodGetTextWithOwnershipReturns the specified text for the specified item in the preview list.
Public methodGetTipTextWithOwnershipReturns the ToolTip text for the specified item in the preview list.
Public methodLocateExpandedListGiven a child list, locate its parent item in the preview list.
Public methodOnCloseCalled when this preview list is closed (unexpanded).
Public methodOnRequestSourceLoads the source for the specified preview item and displays it in the given text view.
Public methodToggleStateToggles the checked state of the specified item in the preview list.
Top

Notes to Implementers

This interface should be implemented in managed code to avoid possible memory leaks when returning text from the GetTextWithOwnership and GetTipTextWithOwnership methods. This interface must be implemented along with the IVsLiteTreeList interface.

Notes to Callers

This interface is obtained by calling the QueryInterface method on an IVsLiteTreeList object or by casting the IVsLiteTreeList object to the IVsSimplePreviewChangesList interface.

An IVsSimplePreviewChangesList object is returned by a call to the GetExpandedList method and is passed to the LocateExpandedList method (in each case, the IVsSimplePreviewChangesList object represents a child list).

An IVsLiteTreeList object can be obtained by a call to the GetList2 method in the IVsSimpleObjectList2 interface.

This interface is returned explicitly by a call to the GetExpandedList method (representing a child list).

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft