IElementVisitorFilter Interface

Provides a callback mechanism for filtering out which role players and which relationships should be visited during traversal by an ElementWalker.

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

Syntax

'Declaration
Public Interface IElementVisitorFilter
public interface IElementVisitorFilter
public interface class IElementVisitorFilter
type IElementVisitorFilter =  interface end
public interface IElementVisitorFilter

The IElementVisitorFilter type exposes the following members.

Methods

  Name Description
Public method ShouldVisitRelationship Called to ask the filter if a particular relationship from a source element should be included in the traversal
Public method ShouldVisitRolePlayer Called to ask the filter if a particular role player should be Visited during traversal

Top

See Also

Reference

Microsoft.VisualStudio.Modeling Namespace