ImmutabilityExtensionMethods.CanDelete(ModelElement, Guid[]) Method

Definition

Deletes the element from the model.

public:
[System::Runtime::CompilerServices::Extension]
 static bool CanDelete(Microsoft::VisualStudio::Modeling::ModelElement ^ element, ... cli::array <Guid> ^ domainRolesToNotPropagate);
public static bool CanDelete (this Microsoft.VisualStudio.Modeling.ModelElement element, params Guid[] domainRolesToNotPropagate);
static member CanDelete : Microsoft.VisualStudio.Modeling.ModelElement * Guid[] -> bool
<Extension()>
Public Function CanDelete (element As ModelElement, ParamArray domainRolesToNotPropagate As Guid()) As Boolean

Parameters

element
ModelElement
domainRolesToNotPropagate
Guid[]

A list of domain role ID-s through which delete should not be propagated.

Returns

Applies to