共用方式為


Diagram.Invalidate Method

Invalidates shapes in the diagram.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Overrides Sub Invalidate
public override void Invalidate()
public:
virtual void Invalidate() override
abstract Invalidate : unit -> unit 
override Invalidate : unit -> unit 
public override function Invalidate()

Remarks

When a shape is invalidated, it is redrawn.

.NET Framework Security

See Also

Reference

Diagram Class

Invalidate Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace