CommandSetLibrary Class

 

Base class for CommandSet and ClipboardCommandSet. Provides access to current selection, diagram, windows and services.

Namespace:   Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)


[CLSCompliantAttribute(false)]
public ref class CommandSetLibrary abstract : MarshalByRefObject

NameDescription
System_CAPS_protmethodCommandSetLibrary(IServiceProvider^)

Creates a new CommandSetLibrary.

NameDescription
System_CAPS_protmethodCanDeleteSelectedItems()

Returns true if the selected items can be deleted.

System_CAPS_pubmethodCreateObjRef(Type^)

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodDeleteSelectedItems(String^)

Delete the selected items.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodGetMenuCommands()

Defines the list of menu commands that this CommandSet implements.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitialize()

Initialize the command set. Calls GetMenuCommands and caches the result.

System_CAPS_pubmethodInitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodIsAnyDocumentSelectionCompartment()

True if any of the items in the selection list is a compartment.

System_CAPS_protmethodIsAnyDocumentSelectionMoveableHostShape()

True if any of the items in the selection list is a moveable host shape, which cannot be deleted.

System_CAPS_protmethodIsAnyDocumentSelectionUndeletable()

True if any of the shape items in the selection list cannot be deleted.

System_CAPS_protmethodIsCurrentDiagramEmpty()

True if the diagram has no children.

System_CAPS_protmethodIsDiagramSelected()

True if the diagram is selected.

System_CAPS_protmethodIsSingleDocumentSelection()

True if there is only one selected item on the active document.

System_CAPS_protmethodIsSingleSelection()

True if there is only one selected item on the active document window or tool window.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: