VsValidationContext.GetDiagramNavigationTargetSubstitutes 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.
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