共用方式為


_LIB_LISTCAPABILITIES Enum

Definition

Specifies the capabilities of an object list.

public enum class _LIB_LISTCAPABILITIES
public enum class _LIB_LISTCAPABILITIES
enum _LIB_LISTCAPABILITIES
public enum _LIB_LISTCAPABILITIES
type _LIB_LISTCAPABILITIES = 
Public Enum _LIB_LISTCAPABILITIES
Inheritance
_LIB_LISTCAPABILITIES

Fields

Name Value Description
LLC_NONE 0

The object list has no special capabilities.

LLC_HASBROWSEOBJ 1

Items in the object list support property browse objects through GetBrowseObject(UInt32, Object).

LLC_HASDESCPANE 2

Items in the object list support description pane text through FillDescription(UInt32, UInt32, IVsObjectBrowserDescription2).

LLC_HASSOURCECONTEXT 4

Items in the object list support GetSourceContext(UInt32, IntPtr, UInt32), CountSourceItems(UInt32, IVsHierarchy, UInt32, UInt32), and GetMultipleSourceItems(UInt32, UInt32, UInt32, VSITEMSELECTION[]).

LLC_HASCOMMANDS 8

Items in the object list support their own context menu through GetContextMenu(UInt32, Guid, Int32, IOleCommandTarget).

LLC_ALLOWDRAGDROP 16

Items in the object list support drag and drop operations through QueryDragDrop(UInt32, IDataObject, UInt32, UInt32) and DoDragDrop(UInt32, IDataObject, UInt32, UInt32).

LLC_ALLOWRENAME 32

Items in the object list support renaming through CanRename(UInt32, String, Int32) and DoRename(UInt32, String, UInt32).

LLC_ALLOWDELETE 64

Items in the object list support renaming through CanDelete(UInt32, Int32) and DoDelete(UInt32, UInt32).

LLC_ALLOWSCCOPS 128

Unused. Use the TDS_STATEIMAGEMASK in the GetDisplayData(UInt32, VSTREEDISPLAYDATA[])call to communicate the source code control state of the list item. Source code control commands are routed through the standard IVsHierarchy and ItemID mechanism.

Remarks

COM Signature

From vsshell.idl:

Object list capabilities are returned to the environment's object manager through a call to GetCapabilities.

Applies to