Delen via


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Public Overridable Function Visit ( _
    walker As ElementWalker, _
    modelElement As ModelElement _
) As Boolean
public virtual bool Visit(
    ElementWalker walker,
    ModelElement modelElement
)
public:
virtual bool Visit(
    ElementWalker^ walker, 
    ModelElement^ modelElement
)
abstract Visit : 
        walker:ElementWalker * 
        modelElement:ModelElement -> bool  
override Visit : 
        walker:ElementWalker * 
        modelElement:ModelElement -> bool
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

Microsoft.VisualStudio.Modeling.Shell Namespace