AdCreatedEventArgs(IDictionary) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 AdCreatedEventArgs 类的新实例。
public:
AdCreatedEventArgs(System::Collections::IDictionary ^ adProperties);
public AdCreatedEventArgs(System.Collections.IDictionary adProperties);
new System.Web.UI.WebControls.AdCreatedEventArgs : System.Collections.IDictionary -> System.Web.UI.WebControls.AdCreatedEventArgs
Public Sub New (adProperties As IDictionary)
参数
- adProperties
- IDictionary
包含 XML 文件中公布属性的 IDictionary。
注解
使用此构造函数创建和初始化 类的新实例 AdCreatedEventArgs 。
下表显示了 实例 AdCreatedEventArgs的初始属性值。
| 属性 | 初始值 |
|---|---|
| AdProperties | 如果参数不是 ,则为 参数的值adProperties;否则为空 System.Collections.IDictionary。adPropertiesnull |
| AlternateText |
adProperties如果参数不是 null,则参数中的adProperties值表示备用文本;否则为 String.Empty。 |
| ImageUrl |
adProperties如果 参数不是 null,则为 参数中的adProperties值,该值表示要显示的图像的 URL;否则为 String.Empty。 |
| NavigateUrl |
adProperties如果 参数不是 null,则表示要导航到的 URL 的参数中的adProperties值;否则为 String.Empty。 |