Freigeben über


ElementOperations.CanMove Method

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

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.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

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

See Also

Reference

ElementOperations Class

Microsoft.VisualStudio.Modeling Namespace