Compartilhar via


ElementWalker.MarkForRemovalFromInternalElementList Method

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.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaração
Protected Sub MarkForRemovalFromInternalElementList ( _
    element As ModelElement _
)
protected void MarkForRemovalFromInternalElementList(
    ModelElement element
)
protected:
void MarkForRemovalFromInternalElementList(
    ModelElement^ element
)
member MarkForRemovalFromInternalElementList : 
        element:ModelElement -> unit 
protected function MarkForRemovalFromInternalElementList(
    element : ModelElement
)

Parameters

.NET Framework Security

See Also

Reference

ElementWalker Class

Microsoft.VisualStudio.Modeling Namespace