共用方式為


CustomComponentViewHandlerAttribute Class

Definition

Notifies the data flow designer at design time that the user interface of the component will manage the component viewer by itself.

public ref class CustomComponentViewHandlerAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public sealed class CustomComponentViewHandlerAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type CustomComponentViewHandlerAttribute = class
    inherit Attribute
Public NotInheritable Class CustomComponentViewHandlerAttribute
Inherits Attribute
Inheritance
CustomComponentViewHandlerAttribute
Attributes

Examples

The following sample shows the CustomComponentViewHandlerAttribute attribute applied to a class.

[CustomComponentViewHandler]  
public class MyComponentUI  
{  
   ...  
]  
<CustomComponentViewHandler> _  
Public Class MyComponentUI  
  ...  
End Class  

Remarks

This attribute is typically used by components where design-time modifications have side effects outside the component itself and where the component manages other components in the data flow. For example, the Slowly Changing Dimension Transformation creates an entire sequence of data flow components and may also delete other objects.

Constructors

CustomComponentViewHandlerAttribute()

Initializes a new instance of a CustomComponentViewHandlerAttribute.

Applies to