ModelElementLocator.NavigateTo Method (Guid, Diagram)
Open the specified diagram.
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 Overridable Function NavigateTo ( _
logicalView As Guid, _
targetDiagram As Diagram _
) As Boolean
public virtual bool NavigateTo(
Guid logicalView,
Diagram targetDiagram
)
public:
virtual bool NavigateTo(
Guid logicalView,
Diagram^ targetDiagram
)
abstract NavigateTo :
logicalView:Guid *
targetDiagram:Diagram -> bool
override NavigateTo :
logicalView:Guid *
targetDiagram:Diagram -> bool
public function NavigateTo(
logicalView : Guid,
targetDiagram : Diagram
) : boolean
Parameters
- logicalView
Type: System.Guid
- targetDiagram
Type: Microsoft.VisualStudio.Modeling.Diagrams.Diagram
Return Value
Type: System.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.