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
walker
Type: Microsoft.VisualStudio.Modeling.ElementWalkerThe element visitor that is traversing the navigation tree.
modelElement
Type: Microsoft.VisualStudio.Modeling.ModelElementThe model element that is being visited.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.