Decorator.UpdateDecoratorHostShapes Method (ModelElement, Guid)
Updates the bounds for the host shapes.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Sub UpdateDecoratorHostShapes ( _
element As ModelElement, _
domainClassId As Guid _
)
public void UpdateDecoratorHostShapes(
ModelElement element,
Guid domainClassId
)
public:
void UpdateDecoratorHostShapes(
ModelElement^ element,
Guid domainClassId
)
member UpdateDecoratorHostShapes :
element:ModelElement *
domainClassId:Guid -> unit
public function UpdateDecoratorHostShapes(
element : ModelElement,
domainClassId : Guid
)
Parameters
element
Type: Microsoft.VisualStudio.Modeling.ModelElementThe presentation element from which to start the updates.
domainClassId
Type: GuidThe ID of the element to which the presentation elements are linked.
.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.