This topic has not yet been rated - Rate this topic

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)

[GuidAttribute("E37F46C4-C627-4D88-A091-2992EE33B51D")] 
[InterfaceTypeAttribute(1)] 
public interface IVsObjectList2
/** @attribute GuidAttribute("E37F46C4-C627-4D88-A091-2992EE33B51D") */ 
/** @attribute InterfaceTypeAttribute(1) */ 
public interface IVsObjectList2
GuidAttribute("E37F46C4-C627-4D88-A091-2992EE33B51D") 
InterfaceTypeAttribute(1) 
public interface IVsObjectList2

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 Sample.

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.

NoteNote

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:

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ