ExtensionContextExtensions::IsAnyDocumentSelectionUndeletable Method (IVsSelectionContext^)

 

Returns whether any of the shape items in the selection list cannot be deleted. This implementation checks for Compartment and MoveableHostShape shapes.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement
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::Boolean

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

Return to top
Show: