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
- newElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
The 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.