Share via


ShapeHasCompartments.SetShape Method

Sets Shape.

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 SetShape ( _
    element As Compartment, _
    newShape As CompartmentShape _
)
public static void SetShape(
    Compartment element,
    CompartmentShape newShape
)
public:
static void SetShape(
    Compartment^ element, 
    CompartmentShape^ newShape
)
static member SetShape : 
        element:Compartment * 
        newShape:CompartmentShape -> unit
public static function SetShape(
    element : Compartment, 
    newShape : CompartmentShape
)

Parameters

.NET Framework Security

See Also

Reference

ShapeHasCompartments Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace