Partition::DeleteElements Method (IEnumerable<ModelElement^>^, array<Guid>^)

 

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

Namespace:   Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public:
void DeleteElements(
	IEnumerable<ModelElement^>^ rootElements,
	... array<Guid>^ domainRolesToNotPropagate
)

Parameters

rootElements
Type: System.Collections.Generic::IEnumerable<ModelElement^>^

Roots of the object graphs to delete

domainRolesToNotPropagate
Type: array<System::Guid>^

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

Return to top
Show: