DslDefinitionModelDomainModel.GetClosureFilter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an IElementVisitorFilter that corresponds to the ClosureType.
public:
override Microsoft::VisualStudio::Modeling::IElementVisitorFilter ^ GetClosureFilter(Microsoft::VisualStudio::Modeling::ClosureType type, System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootElements);
public override Microsoft.VisualStudio.Modeling.IElementVisitorFilter GetClosureFilter (Microsoft.VisualStudio.Modeling.ClosureType type, System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootElements);
override this.GetClosureFilter : Microsoft.VisualStudio.Modeling.ClosureType * System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> -> Microsoft.VisualStudio.Modeling.IElementVisitorFilter
Public Overrides 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