Partition.DeleteElements(IEnumerable<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.
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.