ExtensionContextExtensions::IsAnyDocumentSelectionUndeletable Method (IVsSelectionContext^)
Visual Studio 2015
Returns whether any of the shape items in the selection list cannot be deleted. This implementation checks for Compartment and MoveableHostShape shapes.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: [ExtensionAttribute] static bool IsAnyDocumentSelectionUndeletable( IVsSelectionContext^ context )
Parameters
Return Value
Type: System::BooleanTrue means that at least one selected shape element cannot be deleted.
Show: