Condividi tramite


CommandSetLibrary.IsAnyDocumentSelectionUndeletable Method

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

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

Syntax

'Dichiarazione
Protected Overridable Function IsAnyDocumentSelectionUndeletable As Boolean
protected virtual bool IsAnyDocumentSelectionUndeletable()
protected:
virtual bool IsAnyDocumentSelectionUndeletable()
abstract IsAnyDocumentSelectionUndeletable : unit -> bool 
override IsAnyDocumentSelectionUndeletable : unit -> bool 
protected function IsAnyDocumentSelectionUndeletable() : boolean

Return Value

Type: System.Boolean
If true, at least one selected shape element cannot be deleted.

Remarks

You can override this method. The base implementation checks for Compartment and MoveableHostShape shapes.

.NET Framework Security

See Also

Reference

CommandSetLibrary Class

Microsoft.VisualStudio.Modeling.Shell Namespace