共用方式為


PropagateDeleteVisitorFilter Class

Definition

Class that implements IElementVisitorFilter and visits all PropagateRemove relationships

public ref class PropagateDeleteVisitorFilter : Microsoft::VisualStudio::Modeling::IElementVisitorFilter
public class PropagateDeleteVisitorFilter : Microsoft.VisualStudio.Modeling.IElementVisitorFilter
type PropagateDeleteVisitorFilter = class
    interface IElementVisitorFilter
Public Class PropagateDeleteVisitorFilter
Implements IElementVisitorFilter
Inheritance
PropagateDeleteVisitorFilter
Implements

Constructors

PropagateDeleteVisitorFilter()

Methods

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

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

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

Called to ask the filter if a particular role is marked PropagateRemove and the Role Player should be Visited during traversal

Applies to