Question:You have created a Web Part control that prompts the user for personalization information, including his or her name, region, and preferences. You want other controls to be able to read information from this control to customize the information they display. How should you modify your Web Part to enable other Web Parts to connect to it?
A Create a method that shares the user’s information, and add the ConnectionConsumer
attribute to that method.
B Create a method that shares the user’s information, and add the ConnectionProvider
attribute to that method.
C Create a public property that shares the user’s information, and add the Connection-
Consumer attribute to that method.
D Create a public property that shares the user’s information, and add the Connection-
Provider attribute to that method.