DslDefinitionModelDomainModel.GetClosureFilter 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回对应于 ClosureType 的 IElementVisitorFilter。
public:
override Microsoft::VisualStudio::Modeling::IElementVisitorFilter ^ GetClosureFilter(Microsoft::VisualStudio::Modeling::ClosureType type, System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootElements);
public override Microsoft.VisualStudio.Modeling.IElementVisitorFilter GetClosureFilter (Microsoft.VisualStudio.Modeling.ClosureType type, System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootElements);
override this.GetClosureFilter : Microsoft.VisualStudio.Modeling.ClosureType * System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> -> Microsoft.VisualStudio.Modeling.IElementVisitorFilter
Public Overrides Function GetClosureFilter (type As ClosureType, rootElements As ICollection(Of ModelElement)) As IElementVisitorFilter
参数
- type
- ClosureType
结束类型
- rootElements
- ICollection<ModelElement>
根元素的集合
返回
IElementVisitorFilter 或 null