Partition.DeleteElements Method
Delete the object graphs rooted in the specified collection of elements.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Public Sub DeleteElements ( _
rootElements As IEnumerable(Of ModelElement), _
ParamArray domainRolesToNotPropagate As Guid() _
)
public void DeleteElements(
IEnumerable<ModelElement> rootElements,
params Guid[] domainRolesToNotPropagate
)
public:
void DeleteElements(
IEnumerable<ModelElement^>^ rootElements,
... array<Guid>^ domainRolesToNotPropagate
)
member DeleteElements :
rootElements:IEnumerable<ModelElement> *
domainRolesToNotPropagate:Guid[] -> unit
public function DeleteElements(
rootElements : IEnumerable<ModelElement>,
... domainRolesToNotPropagate : Guid[]
)
Parameters
rootElements
Type: IEnumerable<ModelElement>Roots of the object graphs to delete
domainRolesToNotPropagate
Type: array<Guid[]A list of domain role ID-s through which delete should not be propagated.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.