ElementGroupPrototype::CanCreateElementGroup Method (Partition^)

 

Can this prototype element group create a clone of the progenitor element group in the indicated partition?

Namespace:   Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public:
bool CanCreateElementGroup(
	Partition^ partition
)

Parameters

partition
Type: Microsoft.VisualStudio.Modeling::Partition^

The partition in which to create the clone ElementGroup

Return Value

Type: System::Boolean

Whether the clone can be created

This is a two part check: (1) Is the input stores version the same or later than the progenitor store's version (2) Are all the domain classes required to create the Elements and ElementLinks present in the store

Return to top
Show: