Partition.DeleteElements(IEnumerable<ModelElement>, Guid[]) Method

Definition

Delete the object graphs rooted in the specified collection of elements.

public:
 void DeleteElements(System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootElements, ... cli::array <Guid> ^ domainRolesToNotPropagate);
public void DeleteElements (System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.ModelElement> rootElements, params Guid[] domainRolesToNotPropagate);
member this.DeleteElements : seq<Microsoft.VisualStudio.Modeling.ModelElement> * Guid[] -> unit
Public Sub DeleteElements (rootElements As IEnumerable(Of ModelElement), ParamArray domainRolesToNotPropagate As Guid())

Parameters

rootElements
IEnumerable<ModelElement>

Roots of the object graphs to delete

domainRolesToNotPropagate
Guid[]

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

Applies to