ExplorerElementVisitor.Visit Method

Verifies whether an element visitor is traversing the navigation tree for Model Explorer.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'Declaration
Public Overridable Function Visit ( _
    walker As ElementWalker, _
    modelElement As ModelElement _
) As Boolean
'Usage
Dim instance As ExplorerElementVisitor 
Dim walker As ElementWalker 
Dim modelElement As ModelElement 
Dim returnValue As Boolean 

returnValue = instance.Visit(walker, modelElement)
public virtual bool Visit(
    ElementWalker walker,
    ModelElement modelElement
)
public:
virtual bool Visit(
    ElementWalker^ walker, 
    ModelElement^ modelElement
)
public function Visit(
    walker : ElementWalker, 
    modelElement : ModelElement
) : boolean

Parameters

Return Value

Type: System.Boolean
true if an element visitor is traversing the navigation tree for Model Explorer; otherwise, false.

Implements

IElementVisitor.Visit(ElementWalker, ModelElement)

.NET Framework Security

See Also

Reference

ExplorerElementVisitor Class

ExplorerElementVisitor Members

Microsoft.VisualStudio.Modeling.Shell Namespace