IElementVisitor.Visit Method
Represents a visiting function, defined by classes that implement the IElementVisitor interface.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaração
Function Visit ( _
walker As ElementWalker, _
element As ModelElement _
) As Boolean
bool Visit(
ElementWalker walker,
ModelElement element
)
bool Visit(
ElementWalker^ walker,
ModelElement^ element
)
abstract Visit :
walker:ElementWalker *
element:ModelElement -> bool
function Visit(
walker : ElementWalker,
element : ModelElement
) : boolean
Parameters
- walker
Type: Microsoft.VisualStudio.Modeling.ElementWalker
The walker traversing the model.
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
The model element being visited.
Return Value
Type: System.Boolean
true if the traversal is not complete and should continue; otherwise, false.
Remarks
The ElementWalker object will continue to process as long as the return value is true. It will stop traversal early if the return value of this function is false.
.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.