ConnectionProviderAttribute Constructor

Initializes a new instance of the ConnectionProviderAttribute 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 provider control can have multiple methods marked with the ConnectionProviderAttribute metadata element. In this case, the provider would have multiple connection points, and each instance of the ConnectionProviderAttribute element should specify a unique ID value for the associated connection point, so that the provider's connection points can be distinguished.

Name Description
ConnectionProviderAttribute (String) Initializes a new instance of the ConnectionProviderAttribute class, specifying a display name for the provider connection point.
ConnectionProviderAttribute (String, String) Initializes a new instance of the ConnectionProviderAttribute class, specifying a display name and an ID for the provider connection point.
ConnectionProviderAttribute (String, Type) Initializes a new instance of the ConnectionProviderAttribute class, specifying a display name and a specific type of connection point object to use for the provider connection point.
ConnectionProviderAttribute (String, String, Type) Initializes a new instance of the ConnectionProviderAttribute class, specifying a display name, an ID, and a specific type of connection point object to use for the provider connection point.

Community Additions

ADD
Show: