Condividi tramite


SimpleMonikerResolver.ProcessAddedElement Method

Checks to verify whether an element that was created during deserialization has been processed and its moniker added to the lookup table.

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

Syntax

'Dichiarazione
Public Overridable Function ProcessAddedElement ( _
    mel As ModelElement _
) As Boolean
public virtual bool ProcessAddedElement(
    ModelElement mel
)
public:
virtual bool ProcessAddedElement(
    ModelElement^ mel
)
abstract ProcessAddedElement : 
        mel:ModelElement -> bool 
override ProcessAddedElement : 
        mel:ModelElement -> bool 
public function ProcessAddedElement(
    mel : ModelElement
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the element is processed and its moniker is added to the lookup table; otherwise, false.

Remarks

This method is called when a new model element is processed during the deserialization transaction.

If a moniker has already been created for an element, the moniker cannot be monikerized.

.NET Framework Security

See Also

Reference

SimpleMonikerResolver Class

Microsoft.VisualStudio.Modeling Namespace