共用方式為


Decorator.UpdateDecoratorHostShapes Method (ModelElement, Guid)

Updates the bounds for the host shapes.

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

  • domainClassId
    Type: System.Guid
    The ID of the element to which the presentation elements are linked.

.NET Framework Security

See Also

Reference

Decorator Class

UpdateDecoratorHostShapes Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace