Share via


DiagramElementHasDecorators.SetDiagramElement Method

Definition

Sets DiagramElement.

public:
 static void SetDiagramElement(Microsoft::VisualStudio::Modeling::DslDefinition::Decorator ^ element, Microsoft::VisualStudio::Modeling::DslDefinition::DiagramElement ^ newDiagramElement);
[System.Diagnostics.DebuggerStepThrough]
public static void SetDiagramElement (Microsoft.VisualStudio.Modeling.DslDefinition.Decorator element, Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement newDiagramElement);
[<System.Diagnostics.DebuggerStepThrough>]
static member SetDiagramElement : Microsoft.VisualStudio.Modeling.DslDefinition.Decorator * Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement -> unit
Public Shared Sub SetDiagramElement (element As Decorator, newDiagramElement As DiagramElement)

Parameters

element
Decorator
newDiagramElement
DiagramElement
Attributes

Applies to