DomainModel.GetClosureVisitor Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an IElementVisitor that corresponds to the particular closure type.
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
Parameters
- type
- ClosureType
closure type
- rootElements
- ICollection<ModelElement>
collection of root elements
Returns
IElementVisitor or null