共用方式為


Diagram.InvalidateRectangle Method

Invalidates the shapes that are in the selection rectangle.

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

Syntax

'宣告
Public Sub InvalidateRectangle ( _
    rectangle As RectangleD _
)
public void InvalidateRectangle(
    RectangleD rectangle
)
public:
void InvalidateRectangle(
    RectangleD rectangle
)
member InvalidateRectangle : 
        rectangle:RectangleD -> unit 
public function InvalidateRectangle(
    rectangle : RectangleD
)

Parameters

Remarks

When a shape is invalidated, it is redrawn.

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace