Partager via


VsValidationContext.GetDiagramNavigationTargetSubstitutes Method

Definition

Gets a list of zero-or-more substitute shapes for the given target.

protected:
 virtual System::Collections::Generic::IList<Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^> ^ GetDiagramNavigationTargetSubstitutes(Microsoft::VisualStudio::Modeling::ModelElement ^ target);
protected virtual System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem> GetDiagramNavigationTargetSubstitutes (Microsoft.VisualStudio.Modeling.ModelElement target);
abstract member GetDiagramNavigationTargetSubstitutes : Microsoft.VisualStudio.Modeling.ModelElement -> System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem>
override this.GetDiagramNavigationTargetSubstitutes : Microsoft.VisualStudio.Modeling.ModelElement -> System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem>
Protected Overridable Function GetDiagramNavigationTargetSubstitutes (target As ModelElement) As IList(Of DiagramItem)

Parameters

target
ModelElement

original navigation target (expected not to be a ShapeElement)

Returns

a list of substitute navigation targets (expected to be ShapeElements), may be null

Applies to