語言

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 A 包含來自 XML 檔案的廣告屬性。

備註

使用此建構子來建立並初始化該類別的新實例 AdCreatedEventArgs 。

下表顯示 AdCreatedEventArgs實例的初始屬性值。

房產 初始值
AdProperties 若參數不adProperties為,則該參數的值adProperties;否則為空null。System.Collections.IDictionary
AlternateText 若adProperties參數不是null,則為代表該替代文本的參數值adProperties;否則,。 String.Empty
ImageUrl 若adProperties參數不是null,則為代表圖片網址的參數值adProperties;否則,。 String.Empty
NavigateUrl 若adProperties參數不是 null,則代表 URL 的參數值adProperties;否則,。 String.Empty

適用於

另請參閱