Gets a IDictionary object that contains all the advertisement properties for the currently displayed advertisement.
a IDictionary
Use the AdCreatedEventArgs.AdProperties property to get a IDictionary object that contains the advertisement properties for the currently displayed advertisement. The keys and values of the IDictionary object are of type string.
The System.Web.UI.WebControls.AdRotator control randomly selects an advertisement each time the control is displayed on the Web page. The attributes for the selected advertisement are extracted from the advertisement XML file and stored in a IDictionary object. When the System.Web.UI.WebControls.AdRotator control creates a new instance of the System.Web.UI.WebControls.AdCreatedEventArgs class, the AdCreatedEventArgs.AdProperties property gets initialized with the IDictionary object.
Custom attributes about an advertisement, such as an advertisement caption, can also be included in the advertisement XML file. Use this property in the AdRotator.OnAdCreated(AdCreatedEventArgs) event handler to get the custom attributes.