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
'Dichiarazione
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
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.