Share via


ExtensionContextExtensions.IsAnyDocumentSelectionUndeletable Method

Definition

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

Returns

True means that at least one selected shape element cannot be deleted.

Applies to