BinaryLinkShapeBase.SetDecorators Method (LinkDecorator, SizeD, LinkDecorator, SizeD, Boolean)
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, _
newFromDecoratorSize As SizeD, _
newToDecorator As LinkDecorator, _
newToDecoratorSize As SizeD, _
invalidate As Boolean _
)
protected void SetDecorators(
LinkDecorator newFromDecorator,
SizeD newFromDecoratorSize,
LinkDecorator newToDecorator,
SizeD newToDecoratorSize,
bool invalidate
)
protected:
void SetDecorators(
LinkDecorator^ newFromDecorator,
SizeD newFromDecoratorSize,
LinkDecorator^ newToDecorator,
SizeD newToDecoratorSize,
bool invalidate
)
member SetDecorators :
newFromDecorator:LinkDecorator *
newFromDecoratorSize:SizeD *
newToDecorator:LinkDecorator *
newToDecoratorSize:SizeD *
invalidate:bool -> unit
protected function SetDecorators(
newFromDecorator : LinkDecorator,
newFromDecoratorSize : SizeD,
newToDecorator : LinkDecorator,
newToDecoratorSize : SizeD,
invalidate : boolean
)
Parameters
- newFromDecorator
Type: Microsoft.VisualStudio.Modeling.Diagrams.LinkDecorator
from decorator
- newFromDecoratorSize
Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
Size for the from decorator
- newToDecorator
Type: Microsoft.VisualStudio.Modeling.Diagrams.LinkDecorator
to decorator
- newToDecoratorSize
Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
Size for the to decorator
- 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.