SimpleMonikerResolver.AddNewElement Method
Adds an element during a deserialization transaction.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
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
newElement
Type: Microsoft.VisualStudio.Modeling.ModelElementThe element.
.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.