IElementVisitor.Visit(ElementWalker, ModelElement) Method

Definition

User defined Visit function.

public:
 bool Visit(Microsoft::VisualStudio::Modeling::ElementWalker ^ walker, Microsoft::VisualStudio::Modeling::ModelElement ^ element);
public bool Visit (Microsoft.VisualStudio.Modeling.ElementWalker walker, Microsoft.VisualStudio.Modeling.ModelElement element);
abstract member Visit : Microsoft.VisualStudio.Modeling.ElementWalker * Microsoft.VisualStudio.Modeling.ModelElement -> bool
Public Function Visit (walker As ElementWalker, element As ModelElement) As Boolean

Parameters

walker
ElementWalker

the walker that is currently traversing the model

element
ModelElement

ModelElement being visited

Returns

The ElementWalker object will continue to process as long as this function's return value is true. It will stop traversal early if this function's return value is false.

Applies to