Partilhar via


ElementWalker.MarkForRemovalFromInternalElementList(ModelElement) Method

Definition

Mark an element for removal from the InternalElementList. We mark first and remove later at the end so that the indices remain valid. When marking elements as visited, we store an index in the hashtable which tells us the order that the element was visited in. If the elements were put into the InternalElementList in that order, we can find the element easily using the index. If not a linear search will be used to find the element.

protected:
 void MarkForRemovalFromInternalElementList(Microsoft::VisualStudio::Modeling::ModelElement ^ element);
protected void MarkForRemovalFromInternalElementList (Microsoft.VisualStudio.Modeling.ModelElement element);
member this.MarkForRemovalFromInternalElementList : Microsoft.VisualStudio.Modeling.ModelElement -> unit
Protected Sub MarkForRemovalFromInternalElementList (element As ModelElement)

Parameters

element
ModelElement

Applies to