AdCreatedEventArgs(IDictionary) 构造函数

定义

初始化 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

一个 IDictionary 包含 XML 文件中的广告属性。

注解

使用此构造函数创建和初始化类的新实例 AdCreatedEventArgs

下表显示了实例 AdCreatedEventArgs的初始属性值。

财产 初始值
AdProperties 如果参数不是adProperties,则为参数的值adProperties;否则为空nullSystem.Collections.IDictionary
AlternateText adProperties如果参数不是null,则表示备用文本的参数中的adProperties值;否则为 String.Empty
ImageUrl adProperties如果参数不是null,则表示要显示的图像的 URL 的参数中的adProperties值;否则为 String.Empty
NavigateUrl adProperties如果参数不是null,则表示要导航到的 URL 的参数中的adProperties值;否则为 String.Empty

适用于

另请参阅