ShapeHasCompartments.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 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.