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
'Déclaration
<GuidAttribute("E37F46C4-C627-4D88-A091-2992EE33B51D")> _
<InterfaceTypeAttribute()> _
Public Interface IVsObjectList2
'Utilisation
Dim instance As IVsObjectList2
[GuidAttribute("E37F46C4-C627-4D88-A091-2992EE33B51D")]
[InterfaceTypeAttribute()]
public interface IVsObjectList2
[GuidAttribute(L"E37F46C4-C627-4D88-A091-2992EE33B51D")]
[InterfaceTypeAttribute()]
public interface class IVsObjectList2
public interface IVsObjectList2
Remarks
This interface is an extension of IVsLiteTreeList and provides additional methods that are pertinent to symbols in the project.
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. The IVsLiteTreeList interface and IVsLibrary2 interface must also be implemented with the IVsObjectList2 interface.
Note
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.