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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public:
bool CanCopy(
	ICollection<ModelElement^>^ elements
)

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.

The supported formats: (1) ElementGroupPrototype, and (2) custom formats

Return to top
Show: