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 參數不是 null ,則為 參數的值 adProperties ,否則為空 System.Collections.IDictionary 的 。
AlternateText adProperties如果參數不是 null ,則代表替代文字的參數中的 adProperties 值, String.Empty 否則為 。
ImageUrl adProperties如果 參數不是 null ,則表示要顯示之影像 URL 之 參數中的 adProperties 值, String.Empty 否則為 。
NavigateUrl adProperties如果參數不是 null ,表示要巡覽至之 URL 的參數中的 adProperties 值,則為 , String.Empty 否則為 。

適用於

另請參閱