ShapeElement.OnOrphaned(SerializationResult) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
During deserialization, if a shape is not connected to any model element through PresentationViewsSubject relationship when it should, it is considered "orphaned". This method is called when such a shape is encountered during deserialization. Note: The base implementation will remove the shape.
public:
virtual void OnOrphaned(Microsoft::VisualStudio::Modeling::SerializationResult ^ serializationResult);
public virtual void OnOrphaned (Microsoft.VisualStudio.Modeling.SerializationResult serializationResult);
abstract member OnOrphaned : Microsoft.VisualStudio.Modeling.SerializationResult -> unit
override this.OnOrphaned : Microsoft.VisualStudio.Modeling.SerializationResult -> unit
Public Overridable Sub OnOrphaned (serializationResult As SerializationResult)
Parameters
- serializationResult
- SerializationResult
SerializationResult that can store any serialization warning/error in case the derived shapes choose to override the base behavior.