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, _
diagramItem As DiagramItem, _
extendedSelection As ICollection(Of DiagramItem) _
) As Boolean
'使用
Dim instance As ModelElementLocator
Dim logicalView As Guid
Dim diagramItem As DiagramItem
Dim extendedSelection As ICollection(Of DiagramItem)
Dim returnValue As Boolean
returnValue = instance.NavigateTo(logicalView, _
diagramItem, extendedSelection)
public bool NavigateTo(
Guid logicalView,
DiagramItem diagramItem,
ICollection<DiagramItem> extendedSelection
)
public:
bool NavigateTo(
Guid logicalView,
DiagramItem^ diagramItem,
ICollection<DiagramItem^>^ extendedSelection
)
public function NavigateTo(
logicalView : Guid,
diagramItem : DiagramItem,
extendedSelection : ICollection<DiagramItem>
) : boolean
Parameters
- logicalView
Type: System.Guid
- diagramItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
- extendedSelection
Type: System.Collections.Generic.ICollection<DiagramItem>
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.