ExtensionContextExtensions.IsAnyDocumentSelectionUndeletable Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns whether any of the shape items in the selection list cannot be deleted. This implementation checks for Compartment and MoveableHostShape shapes.
public:
[System::Runtime::CompilerServices::Extension]
static bool IsAnyDocumentSelectionUndeletable(Microsoft::VisualStudio::Modeling::Diagrams::ExtensionEnablement::IVsSelectionContext ^ context);
public static bool IsAnyDocumentSelectionUndeletable (this Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement.IVsSelectionContext context);
static member IsAnyDocumentSelectionUndeletable : Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement.IVsSelectionContext -> bool
<Extension()>
Public Function IsAnyDocumentSelectionUndeletable (context As IVsSelectionContext) As Boolean
Parameters
- context
- IVsSelectionContext
Returns
True means that at least one selected shape element cannot be deleted.