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.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubmethodConnectionProviderAttribute(String)

Initializes a new instance of the ConnectionProviderAttribute class, specifying a display name for the provider connection point.

System_CAPS_pubmethodConnectionProviderAttribute(String, String)

Initializes a new instance of the ConnectionProviderAttribute class, specifying a display name and an ID for the provider connection point.

System_CAPS_pubmethodConnectionProviderAttribute(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.

System_CAPS_pubmethodConnectionProviderAttribute(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.

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.

Return to top
Show: