Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Helper class for working with model element references.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.Shell.ModelElementLocator
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaration
Public Class ModelElementLocator
public class ModelElementLocator
public ref class ModelElementLocator
type ModelElementLocator = class end
public class ModelElementLocator
The ModelElementLocator type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
ModelElementLocator | constructor |
Top
Properties
Name | Description | |
---|---|---|
![]() |
MonitorSelection | |
![]() |
ServiceProvider |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
FindAndOpenDocView | 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 | Finds a ModelingDocView displaying this diagam (if one exists). May return null. |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
NavigateTo(Guid, Diagram) | Open the specified diagram. |
![]() |
NavigateTo(Guid, ShapeElement) | Display and select the specified shape. |
![]() |
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.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.