共用方式為


SimpleMonikerResolver.AddNewElement Method

Adds an element during a deserialization transaction.

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

Syntax

'宣告
Public Overridable Sub AddNewElement ( _
    newElement As ModelElement _
)
public virtual void AddNewElement(
    ModelElement newElement
)
public:
virtual void AddNewElement(
    ModelElement^ newElement
)
abstract AddNewElement : 
        newElement:ModelElement -> unit 
override AddNewElement : 
        newElement:ModelElement -> unit 
public function AddNewElement(
    newElement : ModelElement
)

Parameters

.NET Framework Security

See Also

Reference

SimpleMonikerResolver Class

Microsoft.VisualStudio.Modeling Namespace