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)

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

NameDescription
System_CAPS_pubmethodCanDelete(UInt32, Int32)

Returns a flag indicating if the given list item can be deleted.

System_CAPS_pubmethodCanGoToSource(UInt32, VSOBJGOTOSRCTYPE, Int32)

Returns a flag indicating if navigation to the given list item's source is supported.

System_CAPS_pubmethodCanRename(UInt32, String, Int32)

Returns a flag indicating if the given list item can be renamed.

System_CAPS_pubmethodCountSourceItems(UInt32, IVsHierarchy, UInt32, UInt32)

Returns the hierarchy and the number of ItemIDs corresponding to source files for the given list item.

System_CAPS_pubmethodDoDelete(UInt32, UInt32)

Asks the given list item to do the delete operation.

System_CAPS_pubmethodDoDragDrop(UInt32, IDataObject, UInt32, UInt32)

Asks the given list item to handle a drag-and-drop operation.

System_CAPS_pubmethodDoRename(UInt32, String, UInt32)

Asks the given list item to do the rename operation.

System_CAPS_pubmethodEnumClipboardFormats(UInt32, UInt32, UInt32, VSOBJCLIPFORMAT[], UInt32[])

Asks the given list item to enumerate its supported clipboard formats.

System_CAPS_pubmethodFillDescription(UInt32, UInt32, IVsObjectBrowserDescription2)

Asks the list item to provide description text to be used in the object browser.

System_CAPS_pubmethodFillDescription2(UInt32, UInt32, IVsObjectBrowserDescription3)

Asks the list item to provide description text to be used in the object browser.

System_CAPS_pubmethodGetBrowseObject(UInt32, Object)

Returns a pointer to the property browse IDispatch for the given list item.

System_CAPS_pubmethodGetCapabilities2(UInt32)

Returns an object list's capabilities.

System_CAPS_pubmethodGetCategoryField2(UInt32, Int32, UInt32)

Returns the value for the specified category for the given list item.

System_CAPS_pubmethodGetClipboardFormat(UInt32, UInt32, FORMATETC[], STGMEDIUM[])

Asks the given list item to renders a specific clipboard format that it supports.

System_CAPS_pubmethodGetContextMenu(UInt32, Guid, Int32, IOleCommandTarget)

Allows the list to provide a different context menu and IOleCommandTarget for the given list item.

System_CAPS_pubmethodGetDisplayData(UInt32, VSTREEDISPLAYDATA[])

Retrieves data to draw the requested tree list item.

System_CAPS_pubmethodGetExpandable(UInt32, Int32)

Method information not provided. Return E_NOTIMPL.

System_CAPS_pubmethodGetExpandable3(UInt32, UInt32, Int32)

Returns a flag indicating whether the given list item is expandable.

System_CAPS_pubmethodGetExpandedList(UInt32, Int32, IVsLiteTreeList)

Expands a tree list node.

System_CAPS_pubmethodGetExtendedClipboardVariant(UInt32, UInt32, VSOBJCLIPFORMAT[], Object)

Asks the given list item to renders a specific clipboard format as a variant.

System_CAPS_pubmethodGetFlags(UInt32)

Returns the attributes of the current tree list.

System_CAPS_pubmethodGetItemCount(UInt32)

Returns the number of items in the current tree list.

System_CAPS_pubmethodGetList2(UInt32, UInt32, UInt32, VSOBSEARCHCRITERIA2[], IVsObjectList2)

Returns a child IVsObjectList2 for the specified category.

System_CAPS_pubmethodGetListChanges(UInt32, VSTREELISTITEMCHANGE[])

Returns changes that have occurred in a tree list. For future use only.

System_CAPS_pubmethodGetMultipleSourceItems(UInt32, UInt32, UInt32, VSITEMSELECTION[])

Returns the ItemID corresponding to source files for the given list item if more than one.

System_CAPS_pubmethodGetNavigationInfo2(UInt32, VSOBNAVIGATIONINFO3[])

Fills the VSOBNAVIGATIONINFO2 structure for the given list item allowing the list to navigate back to it through LocateNavigationInfo2.

System_CAPS_pubmethodGetNavInfo(UInt32, IVsNavInfo)

Reserved for future use.

System_CAPS_pubmethodGetNavInfoNode(UInt32, IVsNavInfoNode)

Reserved for future use.

System_CAPS_pubmethodGetProperty(UInt32, Int32, Object)

Returns the specified property for the specified list item.

System_CAPS_pubmethodGetSourceContext(UInt32, IntPtr, UInt32)

Returns a source filename and line number for the given list item.

System_CAPS_pubmethodGetText(UInt32, VSTREETEXTOPTIONS, String)

Returns a pointer to the text representations for the requested tree list item.

System_CAPS_pubmethodGetTipText(UInt32, VSTREETOOLTIPTYPE, String)

Returns a pointer to the tool tip text for the requested tree list item.

System_CAPS_pubmethodGetUserContext(UInt32, Object)

Returns the user context object for the given list item.

System_CAPS_pubmethodGoToSource(UInt32, VSOBJGOTOSRCTYPE)

Navigates to the source for the given list item.

System_CAPS_pubmethodLocateExpandedList(IVsLiteTreeList, UInt32)

Returns a pointer to an index number of the specified tree list.

System_CAPS_pubmethodLocateNavigationInfo2(VSOBNAVIGATIONINFO3[], VSOBNAVNAMEINFONODE2[], Int32, Int32, UInt32)

Returns the index of the list item corresponding to the VSOBNAVIGATIONINFO2 structure.

System_CAPS_pubmethodLocateNavInfoNode(IVsNavInfoNode, UInt32)

Reserved for future use.

System_CAPS_pubmethodOnClose(VSTREECLOSEACTIONS[])

Notifies the current tree list that it is being closed.

System_CAPS_pubmethodQueryDragDrop(UInt32, IDataObject, UInt32, UInt32)

Returns a flag indicating whether the given list item supports a drag-and-drop operation.

System_CAPS_pubmethodShowHelp(UInt32)

Allows the list to display help for the given list item.

System_CAPS_pubmethodToggleState(UInt32, UInt32)

Tells the requested tree item to toggle its checked state if it has check boxes.

System_CAPS_pubmethodUpdateCounter(UInt32, UInt32)

Returns the current change counter for the tree list, and is used to indicate that the list contents have changed.

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.

System_CAPS_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:

Return to top
Show: