IVsSimpleObjectList2 Interface
A simplified version of the IVsObjectList2 interface.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Déclaration
<InterfaceTypeAttribute()> _
<GuidAttribute("A0C6D693-8226-4CA6-AB03-557AA5A33F75")> _
Public Interface IVsSimpleObjectList2
'Utilisation
Dim instance As IVsSimpleObjectList2
[InterfaceTypeAttribute()]
[GuidAttribute("A0C6D693-8226-4CA6-AB03-557AA5A33F75")]
public interface IVsSimpleObjectList2
[InterfaceTypeAttribute()]
[GuidAttribute(L"A0C6D693-8226-4CA6-AB03-557AA5A33F75")]
public interface class IVsSimpleObjectList2
public interface IVsSimpleObjectList2
Remarks
This interface is an extension of IVsLiteTreeList and provides additional methods that are pertinent to symbols in the project. This version of the IVsObjectList2 interface should be implemented in managed code.
Notes to Implementers:
This interface should be implemented in managed code to avoid potential memory leaks when returning text from the GetTextWithOwnership method, ToolTip text from the GetTipTextWithOwnership method, and a source context from the GetSourceContextWithOwnership methods. The IVsLiteTreeList and IVsSimpleLibrary2 interfaces must also be implemented with the IVsSimpleObjectList2 interface.
Notes to Callers:
This interface is returned by a call to the GetList2 method in the IVsSimpleLibrary2 interface.