Share via


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)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("C42D228E-B275-4FE6-8469-F3184663B883")> _
Public Interface IVsSimplePreviewChangesList
[InterfaceTypeAttribute()]
[GuidAttribute("C42D228E-B275-4FE6-8469-F3184663B883")]
public interface IVsSimplePreviewChangesList
[InterfaceTypeAttribute()]
[GuidAttribute(L"C42D228E-B275-4FE6-8469-F3184663B883")]
public interface class IVsSimplePreviewChangesList
[<InterfaceTypeAttribute()>]
[<GuidAttribute("C42D228E-B275-4FE6-8469-F3184663B883")>]
type IVsSimplePreviewChangesList =  interface end
public interface IVsSimplePreviewChangesList

The IVsSimplePreviewChangesList 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 GetItemCount Returns the number of items in the preview list.
Public method GetTextWithOwnership Returns the specified text for the specified item in the preview list.
Public method GetTipTextWithOwnership 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.

Top

Remarks

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).

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace