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
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.