ModelElementLocator Class
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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.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 the default hash function. (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.