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
Public method ExplorerElementVisitor Initializes a new instance of the ExplorerElementVisitor class.

Top

Properties

  Name Description
Public property TreeContainer Gets the navigation tree to traverse in Model Explorer.
Public property TreeNodeHash Gets the table of nodes that appears in the navigation tree for Model Explorer.

Top

Methods

  Name Description
Public method EndTraverse Ends the element visitor's traversal of the navigation tree for Model Explorer.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method PruneTree Obsolete. Removes obsolete nodes from the navigation tree for Model Explorer.
Public method StartTraverse Begins the element visitor's traversal of the navigation tree for Model Explorer.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Modeling.Shell Namespace