Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Called when this element has been created as a copy of another element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Protected Friend Overridable Sub OnCopy ( _
sourceElement As ModelElement _
)
protected internal virtual void OnCopy(
ModelElement sourceElement
)
protected public:
virtual void OnCopy(
ModelElement^ sourceElement
)
abstract OnCopy :
sourceElement:ModelElement -> unit
override OnCopy :
sourceElement:ModelElement -> unit
function OnCopy(
sourceElement : ModelElement
)
Parameters
sourceElement
Type: Microsoft.VisualStudio.Modeling.ModelElementThe element from which a duplicate was created.
Remarks
This method is called on the new 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.