ElementOperations::CanAddCustomFormat Method (ICollection<ModelElement^>^, ClosureType)
Visual Studio 2015
Returns a value indicating whether the ModelElement collection can be used to create a custom format.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
protected: virtual bool CanAddCustomFormat( ICollection<ModelElement^>^ elements, ClosureType closureType )
Parameters
- elements
-
Type:
System.Collections.Generic::ICollection<ModelElement^>^
The collection of ModelElements.
- closureType
-
Type:
Microsoft.VisualStudio.Modeling::ClosureType
The type of closure to use to filter the elements.
Return Value
Type: System::Booleantrue if the ModelElement collection can be used to create a custom format; otherwise, false.
Show: