共用方式為


_LIB_LISTCAPABILITIES Enumeration

Specifies the capabilities of an object list.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣告
Public Enumeration _LIB_LISTCAPABILITIES
'用途
Dim instance As _LIB_LISTCAPABILITIES
public enum _LIB_LISTCAPABILITIES
public enum class _LIB_LISTCAPABILITIES
type _LIB_LISTCAPABILITIES
public enum _LIB_LISTCAPABILITIES

Members

Member name Description
LLC_NONE The object list has no special capabilities.
LLC_HASBROWSEOBJ Items in the object list support property browse objects through GetBrowseObject.
LLC_HASDESCPANE Items in the object list support description pane text through FillDescription.
LLC_HASSOURCECONTEXT Items in the object list support GetSourceContext, CountSourceItems, and GetMultipleSourceItems.
LLC_HASCOMMANDS Items in the object list support their own context menu through GetContextMenu.
LLC_ALLOWDRAGDROP Items in the object list support drag and drop operations through QueryDragDrop and DoDragDrop.
LLC_ALLOWRENAME Items in the object list support renaming through CanRename and DoRename.
LLC_ALLOWDELETE Items in the object list support renaming through CanDelete and DoDelete.
LLC_ALLOWSCCOPS Unused. Use the TDS_STATEIMAGEMASK in the GetDisplayDatacall 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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace