Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Public Overridable Function NavigateTo ( _
logicalView As Guid, _
targetDiagramItem As DiagramItem, _
extendedSelection As ICollection(Of DiagramItem), _
changeSelection As Boolean _
) As Boolean
'使用
Dim instance As ModelElementLocator
Dim logicalView As Guid
Dim targetDiagramItem As DiagramItem
Dim extendedSelection As ICollection(Of DiagramItem)
Dim changeSelection As Boolean
Dim returnValue As Boolean
returnValue = instance.NavigateTo(logicalView, _
targetDiagramItem, extendedSelection, _
changeSelection)
public virtual bool NavigateTo(
Guid logicalView,
DiagramItem targetDiagramItem,
ICollection<DiagramItem> extendedSelection,
bool changeSelection
)
public:
virtual bool NavigateTo(
Guid logicalView,
DiagramItem^ targetDiagramItem,
ICollection<DiagramItem^>^ extendedSelection,
bool changeSelection
)
public function NavigateTo(
logicalView : Guid,
targetDiagramItem : DiagramItem,
extendedSelection : ICollection<DiagramItem>,
changeSelection : boolean
) : boolean
Parameters
- logicalView
Type: System.Guid
- targetDiagramItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
- extendedSelection
Type: System.Collections.Generic.ICollection<DiagramItem>
- changeSelection
Type: System.Boolean
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.