Set the decorators for the connector.
Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
声明
Protected Sub SetDecorators ( _
    newFromDecorator As LinkDecorator, _
    newToDecorator As LinkDecorator, _
    invalidate As Boolean _
)
protected void SetDecorators(
    LinkDecorator newFromDecorator,
    LinkDecorator newToDecorator,
    bool invalidate
)
protected:
void SetDecorators(
    LinkDecorator^ newFromDecorator, 
    LinkDecorator^ newToDecorator, 
    bool invalidate
)
member SetDecorators : 
        newFromDecorator:LinkDecorator * 
        newToDecorator:LinkDecorator * 
        invalidate:bool -> unit 
protected function SetDecorators(
    newFromDecorator : LinkDecorator, 
    newToDecorator : LinkDecorator, 
    invalidate : boolean
)
Parameters
- newFromDecorator
 Type: Microsoft.VisualStudio.Modeling.Diagrams.LinkDecorator
- newToDecorator
 Type: Microsoft.VisualStudio.Modeling.Diagrams.LinkDecorator
- invalidate
 Type: System.Boolean
 Repaint the connector and its immediate surroundings.
.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.