共用方式為


ShapeHasDecorators.SetShape(Decorator, Shape) Method

Definition

Sets Shape.

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

Parameters

element
Decorator
newShape
Shape
Attributes

Applies to