다음을 통해 공유


ModelElementLocator.NavigateTo Method (Guid, ShapeElement)

Display and select the specified shape.

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 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

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

ModelElementLocator Class

NavigateTo Overload

Microsoft.VisualStudio.Modeling.Shell Namespace