Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns an IElementVisitorFilter that corresponds to the particular closure type.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Overridable Function GetClosureFilter ( _
type As ClosureType, _
rootElements As ICollection(Of ModelElement) _
) As IElementVisitorFilter
public virtual IElementVisitorFilter GetClosureFilter(
ClosureType type,
ICollection<ModelElement> rootElements
)
public:
virtual IElementVisitorFilter^ GetClosureFilter(
ClosureType type,
ICollection<ModelElement^>^ rootElements
)
abstract GetClosureFilter :
type:ClosureType *
rootElements:ICollection<ModelElement> -> IElementVisitorFilter
override GetClosureFilter :
type:ClosureType *
rootElements:ICollection<ModelElement> -> IElementVisitorFilter
public function GetClosureFilter(
type : ClosureType,
rootElements : ICollection<ModelElement>
) : IElementVisitorFilter
Parameters
- type
Type: Microsoft.VisualStudio.Modeling.ClosureType
A closure type.
- rootElements
Type: System.Collections.Generic.ICollection<ModelElement>
A collection of root elements.
Return Value
Type: Microsoft.VisualStudio.Modeling.IElementVisitorFilter
An IElementVisitorFilter object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Modeling Namespace