共用方式為


IElementVisitorFilter Interface

Definition

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

public interface class IElementVisitorFilter
public interface IElementVisitorFilter
type IElementVisitorFilter = interface
Public Interface IElementVisitorFilter
Derived

Methods

ShouldVisitRelationship(ElementWalker, ModelElement, DomainRoleInfo, DomainRelationshipInfo, ElementLink)

Called to ask the filter if a particular relationship from a source element should be included in the traversal

ShouldVisitRolePlayer(ElementWalker, ModelElement, ElementLink, DomainRoleInfo, ModelElement)

Called to ask the filter if a particular role player should be Visited during traversal

Applies to