ModelElementLocator.NavigateTo Method (Guid, Diagram, ICollection<DiagramItem>)
Display the target diagram and select the target shapes. The first shape in the list is the primary selection.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
Public Function NavigateTo ( _
logicalView As Guid, _
targetDiagram As Diagram, _
targetSelection As ICollection(Of DiagramItem) _
) As Boolean
public bool NavigateTo(
Guid logicalView,
Diagram targetDiagram,
ICollection<DiagramItem> targetSelection
)
public:
bool NavigateTo(
Guid logicalView,
Diagram^ targetDiagram,
ICollection<DiagramItem^>^ targetSelection
)
member NavigateTo :
logicalView:Guid *
targetDiagram:Diagram *
targetSelection:ICollection<DiagramItem> -> bool
public function NavigateTo(
logicalView : Guid,
targetDiagram : Diagram,
targetSelection : ICollection<DiagramItem>
) : boolean
Parameters
- logicalView
Type: Guid
- targetDiagram
Type: Microsoft.VisualStudio.Modeling.Diagrams.Diagram
targetSelection
Type: ICollection<DiagramItem>Collection of ShapeElements on targetDiagram.
Return Value
Type: Boolean
.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.