ConnectorDecorator.ConfigureHostShape Method
Configures a host shape for use with this decorator. If the given parent does not have a host shape for this decorator, a new one will be created. If a host shape already exists, settings for this decorator will be re-applied to the existing host shape; a new host shape will not be created.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Public Overrides Function ConfigureHostShape ( _
parent As ShapeElement _
) As DecoratorHostShape
public override DecoratorHostShape ConfigureHostShape(
ShapeElement parent
)
public:
virtual DecoratorHostShape^ ConfigureHostShape(
ShapeElement^ parent
) override
abstract ConfigureHostShape :
parent:ShapeElement -> DecoratorHostShape
override ConfigureHostShape :
parent:ShapeElement -> DecoratorHostShape
public override function ConfigureHostShape(
parent : ShapeElement
) : DecoratorHostShape
Parameters
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.DecoratorHostShape
.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.