Udostępnij za pośrednictwem


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

'Declaration
<GuidAttribute("A0C6D693-8226-4CA6-AB03-557AA5A33F75")> _
<InterfaceTypeAttribute()> _
Public Interface IVsSimpleObjectList2
'Usage
Dim instance As IVsSimpleObjectList2
[GuidAttribute("A0C6D693-8226-4CA6-AB03-557AA5A33F75")]
[InterfaceTypeAttribute()]
public interface IVsSimpleObjectList2
[GuidAttribute(L"A0C6D693-8226-4CA6-AB03-557AA5A33F75")]
[InterfaceTypeAttribute()]
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.

See Also

Reference

IVsSimpleObjectList2 Members

Microsoft.VisualStudio.Shell.Interop Namespace