Share via


CoreDesignSurfaceDomainModel.GetClosureFilter Method

Returns an IElementVisitorFilter that corresponds to the ClosureType.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.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

.NET Framework Security

See Also

Reference

CoreDesignSurfaceDomainModel Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace