ModelElementLocator.NavigateTo Method (Guid, ShapeElement)
Display and select the specified shape.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
Public Function NavigateTo ( _
logicalView As Guid, _
targetShape As ShapeElement _
) As Boolean
public bool NavigateTo(
Guid logicalView,
ShapeElement targetShape
)
public:
bool NavigateTo(
Guid logicalView,
ShapeElement^ targetShape
)
member NavigateTo :
logicalView:Guid *
targetShape:ShapeElement -> bool
public function NavigateTo(
logicalView : Guid,
targetShape : ShapeElement
) : boolean
Parameters
- logicalView
Type: System.Guid
- targetShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
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.