ImmutabilityExtensionMethods.CanDelete(ModelElement, Guid[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.