ShapeHasDecorators Constructor (Shape, Decorator)
Constructor Creates a ShapeHasDecorators link in the same Partition as the given Shape
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
Public Sub New ( _
source As Shape, _
target As Decorator _
)
public ShapeHasDecorators(
Shape source,
Decorator target
)
public:
ShapeHasDecorators(
Shape^ source,
Decorator^ target
)
new :
source:Shape *
target:Decorator -> ShapeHasDecorators
public function ShapeHasDecorators(
source : Shape,
target : Decorator
)
Parameters
source
Type: Microsoft.VisualStudio.Modeling.DslDefinition.ShapeShape to use as the source of the relationship.
target
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DecoratorDecorator to use as the target of the relationship.
.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.