Freigeben über


Diagram.ShouldExcludeFromInvalidationTracking Method

Verifies whether specific shape types should be excluded from invalidation.

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

Syntax

'Declaration
Public Overridable Function ShouldExcludeFromInvalidationTracking ( _
    shape As ShapeElement _
) As Boolean
public virtual bool ShouldExcludeFromInvalidationTracking(
    ShapeElement shape
)
public:
virtual bool ShouldExcludeFromInvalidationTracking(
    ShapeElement^ shape
)
abstract ShouldExcludeFromInvalidationTracking : 
        shape:ShapeElement -> bool 
override ShouldExcludeFromInvalidationTracking : 
        shape:ShapeElement -> bool 
public function ShouldExcludeFromInvalidationTracking(
    shape : ShapeElement
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the shape type should be excluded from invalidation; otherwise false.

Remarks

By default, the diagram and swimlane shapes are excluded.

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace