ExplorerElementVisitor Class
Represents a visiting function, also known as an element visitor, which traverses the in-memory store (IMS) model and adds nodes to the navigation tree for Model Explorer.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.Shell.ExplorerElementVisitor
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 ExplorerElementVisitor _
Implements IElementVisitor
public class ExplorerElementVisitor : IElementVisitor
public ref class ExplorerElementVisitor : IElementVisitor
type ExplorerElementVisitor =
class
interface IElementVisitor
end
public class ExplorerElementVisitor implements IElementVisitor
The ExplorerElementVisitor type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ExplorerElementVisitor | Initializes a new instance of the ExplorerElementVisitor class. |
Top
Properties
Name | Description | |
---|---|---|
TreeContainer | Gets the navigation tree to traverse in Model Explorer. | |
TreeNodeHash | Gets the table of nodes that appears in the navigation tree for Model Explorer. |
Top
Methods
Name | Description | |
---|---|---|
EndTraverse | Ends the element visitor's traversal of the navigation tree for Model Explorer. | |
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.) | |
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.) | |
PruneTree | Obsolete. Removes obsolete nodes from the navigation tree for Model Explorer. | |
StartTraverse | Begins the element visitor's traversal of the navigation tree for Model Explorer. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Visit | Verifies whether an element visitor is traversing the navigation tree for Model Explorer. |
Top
Remarks
This class implements the IElementVisitor interface.
DSL Explorer is derived from Model Explorer.
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.