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
- shape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The shape to check.
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
- 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.