ElementOperations.CanMove(ICollection<ModelElement>) Method

Definition

Gets a value indicating whether the collection of ModelElements can be moved.

public:
 virtual bool CanMove(System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ elements);
public virtual bool CanMove (System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> elements);
abstract member CanMove : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> -> bool
override this.CanMove : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> -> bool
Public Overridable Function CanMove (elements As ICollection(Of ModelElement)) As Boolean

Parameters

elements
ICollection<ModelElement>

The collection of ModelElements to move.

Returns

true if the collection of ModelElements can be moved.

Remarks

By default, this has the same implementation as CanCopy.

Applies to