IElementVisitor.Visit(ElementWalker, ModelElement) 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.
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.