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