Home » Microsoft » 70-573 » Which interface should you use?
You need to send a single value from a consumer Web Part to a provider Web Part.
Which interface should you use?
A. IAlertNotifyHandler
B. IWebPartField
C. IWebPartParameters
D. IWebPartRow
Correct Answer: B
Explanation/Reference:
MNEMONIC RULE: "single value = field"
Defines a provider interface for connecting two server controls using a single field of data.
This interface is designed to be used with Web Parts connections. In a Web Parts connection, two server controls that reside in a WebPartZoneBase zone establish a connection and share data, with one control acting as the consumer and the other control acting as a provider.
IWebPartField Interface
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.webparts.iwebpartfield.aspx