ShapeHasCompartments.SetShape Method
Sets Shape.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.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
- 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.