ShapeHasDecorators.SetShape Method
Sets Shape.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaração
Public Shared Sub SetShape ( _
element As Decorator, _
newShape As Shape _
)
public static void SetShape(
Decorator element,
Shape newShape
)
public:
static void SetShape(
Decorator^ element,
Shape^ newShape
)
static member SetShape :
element:Decorator *
newShape:Shape -> unit
public static function SetShape(
element : Decorator,
newShape : Shape
)
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Decorator
- newShape
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Shape
.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.