ElementOperations.CanAddElementGroupFormat Method

Definition

Returns a value indicating whether the ModelElement collection can be used to create an ElementGroupPrototype format.

C++
protected:
 virtual bool CanAddElementGroupFormat(System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ elements, Microsoft::VisualStudio::Modeling::ClosureType closureType);

Parameters

elements
ICollection<ModelElement>

The collection of ModelElements.

closureType
ClosureType

The type of closure to use to filter the elements.

Returns

true if the ModelElement collection can be used to create an ElementGroupPrototype format; otherwise, false.

Applies to

Produkt Versiounen
Visual Studio SDK 2017, 2019, 2022