DslDefinitionModelDomainModel.GetClosureFilter Method
Returns an IElementVisitorFilter that corresponds to the ClosureType.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
声明
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
- type
Type: Microsoft.VisualStudio.Modeling.ClosureType
closure type
- rootElements
Type: System.Collections.Generic.ICollection<ModelElement>
collection of root elements
Return Value
Type: Microsoft.VisualStudio.Modeling.IElementVisitorFilter
IElementVisitorFilter or null
.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.