Udostępnij za pośrednictwem


IVsLiteTreeList Interface

Provides information about symbols in a list that is part of an overall organization in the tree view (IVsLiteTree) of the code browsing tools. A list is the basic unit of information with which the libraries communicate with the tools and is displayed as a set of peer nodes of a specific parent in the tree view.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("1E425321-94CB-448E-8E1E-E1EA2479E5E2")> _
Public Interface IVsLiteTreeList
[InterfaceTypeAttribute()]
[GuidAttribute("1E425321-94CB-448E-8E1E-E1EA2479E5E2")]
public interface IVsLiteTreeList
[InterfaceTypeAttribute()]
[GuidAttribute(L"1E425321-94CB-448E-8E1E-E1EA2479E5E2")]
public interface class IVsLiteTreeList
[<InterfaceTypeAttribute()>]
[<GuidAttribute("1E425321-94CB-448E-8E1E-E1EA2479E5E2")>]
type IVsLiteTreeList =  interface end
public interface IVsLiteTreeList

The IVsLiteTreeList type exposes the following members.

Methods

  Name Description
Public method GetDisplayData Retrieves data to draw the requested tree list item.
Public method GetExpandable Specifies whether an item is expandable.
Public method GetExpandedList Expands a tree list node.
Public method GetFlags Returns the attributes of the current tree list.
Public method GetItemCount Returns the number of items in the current tree list.
Public method GetListChanges Returns changes that have occurred in a tree list.
Public method GetText Returns a pointer to the text representations for the requested tree list item.
Public method GetTipText Returns a pointer to the tool tip text for the requested tree list item.
Public method LocateExpandedList Returns a pointer to an index number of the specified tree list
Public method OnClose Notifies the current tree list that it is being closed.
Public method ToggleState Tells the requested tree item to toggle its checked state if it has check boxes.
Public method UpdateCounter Returns the current change counter for the tree list, and is used to indicate that the list contents have changed.

Top

Remarks

IVsObjectList and its base interface IVsLiteTreeList are used to organize symbols into lists whose item indices range from 0 to CountOfItems –1. Most of the methods on these interfaces operate on a single index at a time, which is passed in as the first parameter to the method. The special value NULINDEX is used to denote the entire list and no item in particular.

The tree view is simply a collection of IVsLiteTreeList implementations at various levels. Every node in the tree view is an item in an IVsLiteTreeList and it, in turn, can have zero or more children lists.

See illustrations of the implementation and/or calling of this interface in the sample My C Package.

Notes to Implementers

Implemented by libraries to participate in the code browsing tools.

Notes to Callers

Called by the code browsing tools to obtain information about a set of symbols in accordance with the parameters specified through GetList or GetList.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace