ConnectionConsumerAttribute Constructor
.NET Framework 3.0
Initializes a new instance of the ConnectionConsumerAttribute class, specifying a value to use for the connection point display name, and optionally specifying values to use for the connection point's ID, the connection point type, or both.
A consumer control can have multiple methods marked with the ConnectionConsumerAttribute metadata element. In this case, the consumer would have multiple connection points, and each instance of the ConnectionConsumerAttribute element should specify a unique ID value for the associated connection point, so that the consumer's connection points can be distinguished.
| Name | Description |
|---|---|
| ConnectionConsumerAttribute (String) | Initializes a new instance of the ConnectionConsumerAttribute class, specifying a display name for the consumer connection point. |
| ConnectionConsumerAttribute (String, String) | Initializes a new instance of the ConnectionConsumerAttribute class, specifying a display name and an ID for the consumer connection point. |
| ConnectionConsumerAttribute (String, Type) | Initializes a new instance of the ConnectionConsumerAttribute class, specifying a display name and a specific type of connection point object to use for the consumer connection point. |
| ConnectionConsumerAttribute (String, String, Type) | Initializes a new instance of the ConnectionConsumerAttribute class, specifying a display name, an ID, and a specific type of connection point object to use for the consumer connection point. |
Community Additions
ADD
Show: