DiagramElementHasDecorators.SetDiagramElement Method
Sets DiagramElement.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Shared Sub SetDiagramElement ( _
element As Decorator, _
newDiagramElement As DiagramElement _
)
public static void SetDiagramElement(
Decorator element,
DiagramElement newDiagramElement
)
public:
static void SetDiagramElement(
Decorator^ element,
DiagramElement^ newDiagramElement
)
static member SetDiagramElement :
element:Decorator *
newDiagramElement:DiagramElement -> unit
public static function SetDiagramElement(
element : Decorator,
newDiagramElement : DiagramElement
)
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Decorator
- newDiagramElement
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement
.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.