共用方式為


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

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("1E425321-94CB-448E-8E1E-E1EA2479E5E2")> _
Public Interface IVsLiteTreeList
'用途
Dim instance As 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

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

IVsLiteTreeList Members

Microsoft.VisualStudio.Shell.Interop Namespace