Bagikan melalui


ChainingElementVisitorFilter Class

Represents a chaining filter, which adds filters to a list.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.Modeling.ChainingElementVisitorFilter

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

Syntax

'Declaration
Public NotInheritable Class ChainingElementVisitorFilter _
    Implements IElementVisitorFilter
public sealed class ChainingElementVisitorFilter : IElementVisitorFilter
public ref class ChainingElementVisitorFilter sealed : IElementVisitorFilter
[<Sealed>]
type ChainingElementVisitorFilter =  
    class 
        interface IElementVisitorFilter 
    end
public final class ChainingElementVisitorFilter implements IElementVisitorFilter

The ChainingElementVisitorFilter type exposes the following members.

Constructors

  Name Description
Public method ChainingElementVisitorFilter Initializes a new instance of the ChainingElementVisitorFilter class.

Top

Methods

  Name Description
Public method AddFilter Add a filter to a list.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ShouldVisitRelationship Verifies whether a relationship should be visited during a traversal.
Public method ShouldVisitRolePlayer Verifies whether a role player should be visited during a traversal.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

Can be used for copy, remove or other visitor filter implementations

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Modeling Namespace