Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Public Function NavigateTo ( _
logicalView As Guid, _
targetShape As ShapeElement _
) As Boolean
'使用
Dim instance As ModelElementLocator
Dim logicalView As Guid
Dim targetShape As ShapeElement
Dim returnValue As Boolean
returnValue = instance.NavigateTo(logicalView, _
targetShape)
public bool NavigateTo(
Guid logicalView,
ShapeElement targetShape
)
public:
bool NavigateTo(
Guid logicalView,
ShapeElement^ targetShape
)
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
Permissions
- 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.