ElementOperations.CanMove Method
Gets a value indicating whether the collection of ModelElements can be moved.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Overridable Function CanMove ( _
elements As ICollection(Of ModelElement) _
) As Boolean
public virtual bool CanMove(
ICollection<ModelElement> elements
)
public:
virtual bool CanMove(
ICollection<ModelElement^>^ elements
)
abstract CanMove :
elements:ICollection<ModelElement> -> bool
override CanMove :
elements:ICollection<ModelElement> -> bool
public function CanMove(
elements : ICollection<ModelElement>
) : boolean
Parameters
elements
Type: System.Collections.Generic.ICollection<ModelElement>The collection of ModelElements to move.
Return Value
Type: System.Boolean
true if the collection of ModelElements can be moved.
Remarks
By default, this has the same implementation as CanCopy.
.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.