Removes all the given IDiagramConnection objects from the given IDiagramModel.

Namespace:  Mindscape.WpfDiagramming.Foundation
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
void RemoveConnections(
	IDiagramModel model,
	IList<IDiagramConnection> connections
)
Visual Basic (Declaration)
Sub RemoveConnections ( _
	model As IDiagramModel, _
	connections As IList(Of IDiagramConnection) _
)

Parameters

model
Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramModel
The IDiagramModel to have connections removed from.
connections
Type: System.Collections.Generic..::.IList<(Of <(IDiagramConnection>)>)
The connections to be removed from the model.

See Also