Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Delete the object graphs rooted in the specified collection of elements.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.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: 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.
.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.