CompartmentMapping.InitializeCompartmentShape Method
Update the compartment specified by this mapping with the value specified by this mapping from the object model
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
Public Sub InitializeCompartmentShape ( _
compartmentShape As CompartmentShape _
)
public void InitializeCompartmentShape(
CompartmentShape compartmentShape
)
public:
void InitializeCompartmentShape(
CompartmentShape^ compartmentShape
)
member InitializeCompartmentShape :
compartmentShape:CompartmentShape -> unit
public function InitializeCompartmentShape(
compartmentShape : CompartmentShape
)
Parameters
- compartmentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.CompartmentShape
The compartment shape that hosts the compartment specified by this mapping
Remarks
Update the compartment that is specified by this mapping by using the value that is specified by this mapping from the object model.
.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.