Condividi tramite


DslDefinitionModelSerializationHelperBase.CheckForOrphanedShapes Method

Go through the diagram to find all shapes that are not connected to a model element. Some of them may be by design, the rest are out-of-sync shapes. We want to make sure that all out-of-sync shapes are given a chance to fix themselves up, or post proper warning/error messages.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

'Declaration
Protected Overridable Sub CheckForOrphanedShapes ( _
    diagram As Diagram, _
    serializationResult As SerializationResult _
)
protected virtual void CheckForOrphanedShapes(
    Diagram diagram,
    SerializationResult serializationResult
)
protected:
virtual void CheckForOrphanedShapes(
    Diagram^ diagram, 
    SerializationResult^ serializationResult
)
abstract CheckForOrphanedShapes : 
        diagram:Diagram * 
        serializationResult:SerializationResult -> unit  
override CheckForOrphanedShapes : 
        diagram:Diagram * 
        serializationResult:SerializationResult -> unit
protected function CheckForOrphanedShapes(
    diagram : Diagram, 
    serializationResult : SerializationResult
)

Parameters

.NET Framework Security

See Also

Reference

DslDefinitionModelSerializationHelperBase Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace