Share via


VsValidationContext.GetDiagramNavigationTargetSubstitutes Method

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

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

Syntax

'Declaration
Protected Overridable Function GetDiagramNavigationTargetSubstitutes ( _
    target As ModelElement _
) As IList(Of DiagramItem)
protected virtual IList<DiagramItem> GetDiagramNavigationTargetSubstitutes(
    ModelElement target
)
protected:
virtual IList<DiagramItem^>^ GetDiagramNavigationTargetSubstitutes(
    ModelElement^ target
)
abstract GetDiagramNavigationTargetSubstitutes : 
        target:ModelElement -> IList<DiagramItem> 
override GetDiagramNavigationTargetSubstitutes : 
        target:ModelElement -> IList<DiagramItem> 
protected function GetDiagramNavigationTargetSubstitutes(
    target : ModelElement
) : IList<DiagramItem>

Parameters

Return Value

Type: System.Collections.Generic.IList<DiagramItem>
a list of substitute navigation targets (expected to be ShapeElements), may be null

.NET Framework Security

See Also

Reference

VsValidationContext Class

Microsoft.VisualStudio.Modeling.Shell Namespace