IVsPreviewChangesList 接口

定义

表示 "预览更改" 工具窗口的更改树中的项列表。

public interface class IVsPreviewChangesList
public interface class IVsPreviewChangesList
__interface IVsPreviewChangesList
[System.Runtime.InteropServices.Guid("B334F714-993B-4902-89E0-792213B538DB")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsPreviewChangesList
[<System.Runtime.InteropServices.Guid("B334F714-993B-4902-89E0-792213B538DB")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsPreviewChangesList = interface
Public Interface IVsPreviewChangesList
属性

实施者说明

IVsLiteTreeList还必须通过此接口实现接口。


托管代码实现应 IVsSimplePreviewChangesList 改为实现接口,以避免内存泄漏。

调用方说明

此接口是通过对对象调用 QueryInterface 方法或将 IVsLiteTreeList 对象强制转换 IVsLiteTreeList 为接口获取的 IVsPreviewChangesListIVsLiteTreeList可以通过调用接口中的方法来获取对象 GetExpandedList(UInt32, Int32, IVsLiteTreeList) IVsObjectList2

方法

GetDisplayData(UInt32, VSTREEDISPLAYDATA[])

返回指定项的显示数据。

GetExpandable(UInt32, Int32)

确定指定的项是否可以展开。

GetExpandedList(UInt32, Int32, IVsLiteTreeList)

返回已在树视图中展开的指定项的子列表。

GetFlags(UInt32)

返回描述预览列表的一组标志。

GetItemCount(UInt32)

返回预览列表中的项数。

GetListChanges(UInt32, VSTREELISTITEMCHANGE[])

返回对预览列表中的项所做的更改的列表。

GetText(UInt32, VSTREETEXTOPTIONS, String)

返回预览列表中指定项的指定文本。

GetTipText(UInt32, VSTREETOOLTIPTYPE, String)

返回预览列表中指定项的工具提示文本。

LocateExpandedList(IVsLiteTreeList, UInt32)

给定一个子列表,在预览列表中找到其父项。

OnClose(VSTREECLOSEACTIONS[])

当关闭此预览列表 (未展开的) 时调用。

OnRequestSource(UInt32, Object)

加载指定的预览项的源,并将其显示在给定的文本视图中。

ToggleState(UInt32, UInt32)

切换预览列表中指定项的选中状态。

UpdateCounter(UInt32, UInt32)

更新当前更改计数器并返回是否已对预览列表进行了任何更改,如果已更改,则返回更改的类型。

适用于