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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
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
- modelElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
Return Value
Type: System.Collections.Generic.IList<DiagramItem>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.