DomainModel.GetClosureFilter Method

Definition

Returns an IElementVisitorFilter that corresponds to the particular closure type.

public:
 virtual Microsoft::VisualStudio::Modeling::IElementVisitorFilter ^ GetClosureFilter(Microsoft::VisualStudio::Modeling::ClosureType type, System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootElements);
public virtual Microsoft.VisualStudio.Modeling.IElementVisitorFilter GetClosureFilter (Microsoft.VisualStudio.Modeling.ClosureType type, System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootElements);
abstract member GetClosureFilter : Microsoft.VisualStudio.Modeling.ClosureType * System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> -> Microsoft.VisualStudio.Modeling.IElementVisitorFilter
override this.GetClosureFilter : Microsoft.VisualStudio.Modeling.ClosureType * System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> -> Microsoft.VisualStudio.Modeling.IElementVisitorFilter
Public Overridable Function GetClosureFilter (type As ClosureType, rootElements As ICollection(Of ModelElement)) As IElementVisitorFilter

Parameters

type
ClosureType

closure type

rootElements
ICollection<ModelElement>

collection of root elements

Returns

IElementVisitorFilter or null

Applies to