Freigeben über


DiagramElementHasDecorators.SetDiagramElement Method

Sets DiagramElement.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.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

.NET Framework Security

See Also

Reference

DiagramElementHasDecorators Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace