Partager via


VsValidationContext.GetDiagramNavigationTargets Method

Get the list of shapes associated with the referenced model elements, that we can target for navigation.

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

Syntax

'Déclaration
Public Function GetDiagramNavigationTargets ( _
    modelElement As ModelElement _
) As IList(Of DiagramItem)
public IList<DiagramItem> GetDiagramNavigationTargets(
    ModelElement modelElement
)
public:
IList<DiagramItem^>^ GetDiagramNavigationTargets(
    ModelElement^ modelElement
)
member GetDiagramNavigationTargets : 
        modelElement:ModelElement -> IList<DiagramItem> 
public function GetDiagramNavigationTargets(
    modelElement : ModelElement
) : IList<DiagramItem>

Parameters

Return Value

Type: System.Collections.Generic.IList<DiagramItem>

.NET Framework Security

See Also

Reference

VsValidationContext Class

Microsoft.VisualStudio.Modeling.Shell Namespace