Auf Englisch lesen

Freigeben über


DefaultVisitorFilter.ShouldVisitRolePlayer Method

Called to ask the filter if a particular role's counterpart should be Visited during traversal. By default, returns true;

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

Syntax

public virtual VisitorFilterResult ShouldVisitRolePlayer(
    ElementWalker walker,
    ModelElement sourceElement,
    ElementLink elementLink,
    DomainRoleInfo targetDomainRole,
    ModelElement targetRolePlayer
)

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.VisitorFilterResult

Implements

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

Remarks

Called to ask the filter if a particular role's counterpart should be Visited during traversal. By default, returns true;

.NET Framework Security

See Also

Reference

DefaultVisitorFilter Class

Microsoft.VisualStudio.Modeling Namespace