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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.