ElementOperations.CanMove(ICollection<ModelElement>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.