共用方式為


IVsLiteTreeEvents Interface

Definition

Defines the events of the lightweight tree control. Used as an argument in the AdviseTreeEvents(IVsLiteTreeEvents, UInt32) method of the IVsLiteTree interface.

public interface class IVsLiteTreeEvents
public interface class IVsLiteTreeEvents
__interface IVsLiteTreeEvents
[System.Runtime.InteropServices.Guid("87066898-76AB-45E2-B33C-C5B6B99BB03E")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsLiteTreeEvents
[System.Runtime.InteropServices.Guid("87066898-76AB-45E2-B33C-C5B6B99BB03E")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsLiteTreeEvents
[<System.Runtime.InteropServices.Guid("87066898-76AB-45E2-B33C-C5B6B99BB03E")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsLiteTreeEvents = interface
[<System.Runtime.InteropServices.Guid("87066898-76AB-45E2-B33C-C5B6B99BB03E")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsLiteTreeEvents = interface
Public Interface IVsLiteTreeEvents
Attributes

Methods

OnDeleteItems(UInt32, UInt32)

Counts items that have been deleted starting with iStart.

OnInsertItems(UInt32, UInt32)

Counts items that have been inserted after iAfter.

OnQueryItemVisible(UInt32, Int32)

Checks whether specified item is visible.

OnRefresh()

The list has been refreshed (update count, window, current selection).

OnSetRedraw(Int32)

Turns redraw on/off.

OnToggleExpansion(UInt32, Int32)

Called when an item enters or leaves the expanded state.

OnToggleState(UInt32, UInt32)

Called when an icon changes state.

Applies to