共用方式為


CopyClosureFilter Class

Base class for copy closure visitor filter

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.CopyClosureFilter
    Microsoft.VisualStudio.Modeling.CoreCopyClosureBase
    Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceCopyClosureBase
    Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelCopyClosureBase

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

Syntax

'宣告
Public Class CopyClosureFilter _
    Implements IElementVisitorFilter
public class CopyClosureFilter : IElementVisitorFilter
public ref class CopyClosureFilter : IElementVisitorFilter
type CopyClosureFilter =  
    class
        interface IElementVisitorFilter
    end
public class CopyClosureFilter implements IElementVisitorFilter

The CopyClosureFilter type exposes the following members.

Constructors

  Name Description
Public method CopyClosureFilter Constructor

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
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
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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