共用方式為


IVsObjectList Interface

Definition

Provides information about symbols in a list that is part of an overall organization in the tree view (IVsLiteTree) of the code browsing tools. IVsObjectList is an extension of IVsLiteTreeList and provides additional methods that are pertinent to symbols in the project. Provides information about symbols in a list that is part of an overall organization in the tree view (IVsLiteTree) of the code browsing tools. IVsObjectList is an extension of IVsLiteTreeList and provides additional methods that are pertinent to symbols in the project.

public interface class IVsObjectList : Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList
public interface class IVsObjectList : Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList
__interface IVsObjectList : Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("C48F7AB9-8966-4138-B602-14C5EB8BD857")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsObjectList : Microsoft.VisualStudio.Shell.Interop.IVsLiteTreeList
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("C48F7AB9-8966-4138-B602-14C5EB8BD857")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsObjectList : Microsoft.VisualStudio.Shell.Interop.IVsLiteTreeList
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("C48F7AB9-8966-4138-B602-14C5EB8BD857")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsObjectList = interface
    interface IVsLiteTreeList
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("C48F7AB9-8966-4138-B602-14C5EB8BD857")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsObjectList = interface
    interface IVsLiteTreeList
Public Interface IVsObjectList
Implements IVsLiteTreeList
Attributes
Implements

Notes to Implementers

Implemented by libraries to participate in the code browsing tools.

Notes to Callers

Called by the code browsing tools to obtain information about a set of symbols in accordance with the parameters specified through GetList(UInt32, UInt32, VSOBSEARCHCRITERIA[], IVsObjectList) or GetList(UInt32, UInt32, UInt32, VSOBSEARCHCRITERIA[], IVsObjectList).

Methods

CanDelete(UInt32, Int32)

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

CanGoToSource(UInt32, VSOBJGOTOSRCTYPE, Int32)

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

CanRename(UInt32, String, Int32)

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

CountSourceItems(UInt32, IVsHierarchy, UInt32, UInt32)

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

DoDelete(UInt32, UInt32)

Asks the given list item to do the delete operation.

DoDragDrop(UInt32, IDataObject, UInt32, UInt32)

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

DoRename(UInt32, String, UInt32)

Asks the given list item to do the rename operation.

EnumClipboardFormats(UInt32, UInt32, UInt32, VSOBJCLIPFORMAT[], UInt32[])

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

FillDescription(UInt32, UInt32, IVsObjectBrowserDescription2)

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

GetBrowseObject(UInt32, Object)

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

GetCapabilities(UInt32)

Returns an object list's capabilities.

GetCategoryField(UInt32, LIB_CATEGORY, UInt32)

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

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

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

GetContextMenu(UInt32, Guid, Int32, IOleCommandTarget)

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

GetDisplayData(UInt32, VSTREEDISPLAYDATA[])

Retrieves data to draw the requested tree list item.

GetExpandable(UInt32, Int32)

Method information not provided. Return E_NOTIMPL.

GetExpandable2(UInt32, UInt32, Int32)

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

GetExpandedList(UInt32, Int32, IVsLiteTreeList)

Expands a tree list node.

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

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

GetFlags(UInt32)

Returns the attributes of the current tree list.

GetItemCount(UInt32)

Returns the number of items in the current tree list.

GetList(UInt32, UInt32, UInt32, VSOBSEARCHCRITERIA[], IVsObjectList)

Returns a child IVsObjectList for the specified category.

GetListChanges(UInt32, VSTREELISTITEMCHANGE[])

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

GetMultipleSourceItems(UInt32, UInt32, UInt32, VSITEMSELECTION[])

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

GetNavigationInfo(UInt32, VSOBNAVIGATIONINFO2[])

Fills the VSOBNAVIGATIONINFO2 structure for the given list item allowing the list to navigate back to it through LocateNavigationInfo(VSOBNAVIGATIONINFO2[], VSOBNAVNAMEINFONODE[], Int32, Int32, UInt32[]).

GetSourceContext(UInt32, IntPtr, UInt32)

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

GetText(UInt32, VSTREETEXTOPTIONS, String)

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

GetTipText(UInt32, VSTREETOOLTIPTYPE, String)

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

GetUserContext(UInt32, Object)

Returns the user context object for the given list item.

GoToSource(UInt32, VSOBJGOTOSRCTYPE)

Navigates to the source for the given list item.

LocateExpandedList(IVsLiteTreeList, UInt32)
LocateNavigationInfo(VSOBNAVIGATIONINFO2[], VSOBNAVNAMEINFONODE[], Int32, Int32, UInt32[])

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

OnClose(VSTREECLOSEACTIONS[])

Notifies the current tree list that it is being closed.

QueryDragDrop(UInt32, IDataObject, UInt32, UInt32)

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

ShowHelp(UInt32)

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

ToggleState(UInt32, UInt32)

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

UpdateCounter(UInt32, UInt32)

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

Applies to