IVsObjectList2 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.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣言
<InterfaceTypeAttribute()> _
<GuidAttribute("E37F46C4-C627-4D88-A091-2992EE33B51D")> _
Public Interface IVsObjectList2
'使用
Dim instance As IVsObjectList2
[InterfaceTypeAttribute()]
[GuidAttribute("E37F46C4-C627-4D88-A091-2992EE33B51D")]
public interface IVsObjectList2
[InterfaceTypeAttribute()]
[GuidAttribute(L"E37F46C4-C627-4D88-A091-2992EE33B51D")]
public interface class IVsObjectList2
[<InterfaceTypeAttribute()>]
[<GuidAttribute("E37F46C4-C627-4D88-A091-2992EE33B51D")>]
type IVsObjectList2 = interface end
public interface IVsObjectList2
Remarks
This interface is an extension of IVsLiteTreeList and provides additional methods that are pertinent to symbols in the project.
Notes to Implementers
Implemented by libraries to participate in the code browsing tools. The IVsLiteTreeList interface and IVsLibrary2 interface must also be implemented with the IVsObjectList2 interface.
注意
Managed code implementations should implement the IVsSimpleObjectList2 interface instead to avoid memory leaks. This also requires implementing the IVsSimpleLibrary2 interface instead of the IVsLibrary2 interface.
Notes to Callers
This interface is returned from a call to one of the following methods:
The GetList2 method in the IVsLibrary2 interface.
The GetListAndIndex method in the IVsObjectManager2 interface.
The GetList2 method of the IVsBrowseComponentSet interface.