ElementOperations.CanCopy Method (ICollection<ModelElement>)
Gets a value indicating whether the collection of ModelElements can be copied to an IDataObject.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaração
Public Function CanCopy ( _
elements As ICollection(Of ModelElement) _
) As Boolean
public bool CanCopy(
ICollection<ModelElement> elements
)
public:
bool CanCopy(
ICollection<ModelElement^>^ elements
)
member CanCopy :
elements:ICollection<ModelElement> -> bool
public function CanCopy(
elements : ICollection<ModelElement>
) : boolean
Parameters
- elements
Type: System.Collections.Generic.ICollection<ModelElement>
The collection of ModelElements to copy.
Return Value
Type: System.Boolean
true if the collection of ModelElements can be copied to an IDataObject.
Remarks
The supported formats: (1) ElementGroupPrototype, and (2) custom formats
.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.