共用方式為


ElementWalker.Visited(ModelElement) Method

Definition

determines if the given element has been visited or not

public:
 bool Visited(Microsoft::VisualStudio::Modeling::ModelElement ^ element);
public bool Visited (Microsoft.VisualStudio.Modeling.ModelElement element);
member this.Visited : Microsoft.VisualStudio.Modeling.ModelElement -> bool
Public Function Visited (element As ModelElement) As Boolean

Parameters

element
ModelElement

the element in question

Returns

true if the element has already been visited

Applies to