DomainModel.GetClosureVisitor 方法

定义

返回对应于特定闭包类型的 IElementVisitor。

public:
 virtual Microsoft::VisualStudio::Modeling::IElementVisitor ^ GetClosureVisitor(Microsoft::VisualStudio::Modeling::ClosureType type, System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootElements);
public virtual Microsoft.VisualStudio.Modeling.IElementVisitor GetClosureVisitor (Microsoft.VisualStudio.Modeling.ClosureType type, System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootElements);
abstract member GetClosureVisitor : Microsoft.VisualStudio.Modeling.ClosureType * System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> -> Microsoft.VisualStudio.Modeling.IElementVisitor
override this.GetClosureVisitor : Microsoft.VisualStudio.Modeling.ClosureType * System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> -> Microsoft.VisualStudio.Modeling.IElementVisitor
Public Overridable Function GetClosureVisitor (type As ClosureType, rootElements As ICollection(Of ModelElement)) As IElementVisitor

参数

type
ClosureType

结束类型

rootElements
ICollection<ModelElement>

根元素的集合

返回

IElementVisitor

IElementVisitor 或 null

适用于