Partager via


DslDefinitionModelDomainModel.GetClosureFilter Method

Returns an IElementVisitorFilter that corresponds to the ClosureType.

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

Syntax

'Declaration
Public Overrides Function GetClosureFilter ( _
    type As ClosureType, _
    rootElements As ICollection(Of ModelElement) _
) As IElementVisitorFilter
public override IElementVisitorFilter GetClosureFilter(
    ClosureType type,
    ICollection<ModelElement> rootElements
)
public:
virtual IElementVisitorFilter^ GetClosureFilter(
    ClosureType type, 
    ICollection<ModelElement^>^ rootElements
) override
abstract GetClosureFilter : 
        type:ClosureType * 
        rootElements:ICollection<ModelElement> -> IElementVisitorFilter  
override GetClosureFilter : 
        type:ClosureType * 
        rootElements:ICollection<ModelElement> -> IElementVisitorFilter
public override function GetClosureFilter(
    type : ClosureType, 
    rootElements : ICollection<ModelElement>
) : IElementVisitorFilter

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.IElementVisitorFilter
IElementVisitorFilter or null

.NET Framework Security

See Also

Reference

DslDefinitionModelDomainModel Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace