ModelElementLocator Class
Helper class for working with model element references.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
| Name | Description | |
|---|---|---|
![]() | ModelElementLocator(IServiceProvider^) | constructor |
| Name | Description | |
|---|---|---|
![]() | MonitorSelection | |
![]() | ServiceProvider |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | FindAndOpenDocView(Guid, Diagram^) | Finds a ModelingDocView displaying this diagam. If the DocView cannot be found in already-opened views, then open the views on each candidate DocData. May return null. |
![]() | FindDocView(Guid, Diagram^) | Finds a ModelingDocView displaying this diagam (if one exists). May return null. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | NavigateTo(Guid, Diagram^) | Open the specified diagram. |
![]() | NavigateTo(Guid, Diagram^, ICollection<DiagramItem^>^) | Display the target diagram and select the target shapes. The first shape in the list is the primary selection. |
![]() | NavigateTo(Guid, DiagramItem^, ICollection<DiagramItem^>^) | Display the targetShape's diagram and select the shape (extend the selection to include the extendedSelection.) |
![]() | NavigateTo(Guid, DiagramItem^, ICollection<DiagramItem^>^, Boolean) | Display the targetShape's diagram and, if desired, select the shape (extend the selection to include the extendedSelection.) |
![]() | NavigateTo(Guid, ShapeElement^) | Display and select the specified shape. |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


