DomainModel.GetClosureFilter Method

Returns an IElementVisitorFilter that corresponds to the particular closure type.

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

Syntax

'宣言
Public Overridable Function GetClosureFilter ( _
    type As ClosureType, _
    rootElements As ICollection(Of ModelElement) _
) As IElementVisitorFilter
'使用
Dim instance As DomainModel
Dim type As ClosureType
Dim rootElements As ICollection(Of ModelElement)
Dim returnValue As IElementVisitorFilter

returnValue = instance.GetClosureFilter(type, _
    rootElements)
public virtual IElementVisitorFilter GetClosureFilter(
    ClosureType type,
    ICollection<ModelElement> rootElements
)
public:
virtual IElementVisitorFilter^ GetClosureFilter(
    ClosureType type, 
    ICollection<ModelElement^>^ rootElements
)
public function GetClosureFilter(
    type : ClosureType, 
    rootElements : ICollection<ModelElement>
) : IElementVisitorFilter

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.IElementVisitorFilter

An IElementVisitorFilter object.

Permissions

See Also

Concepts

Domain Model in the Generated API

Reference

DomainModel Class

DomainModel Members

Microsoft.VisualStudio.Modeling Namespace