📄 adcreatedeventargs.cs
字号:
using System;
using System.Collections;
using System.Collections.Specialized;
namespace System.Web.UI.WebControls
{
/// <summary>
/// Summary description for AdCreatedEventArgs.
/// </summary>
public class AdCreatedEventArgs : System.EventArgs
{
private const string AlternateTextProperty = "AlternateText";
private const string ImageUrlProperty = "ImageUrl";
private const string NavigateUrlProperty = "NavigateUrl";
private System.Collections.IDictionary adProperties;
private string alternateText;
private string imageUrl;
private string navigateUrl;
public AdCreatedEventArgs(IDictionary adProperties) : base()
{
this.imageUrl = System.String.Empty;
this.navigateUrl = System.String.Empty;
this.alternateText = System.String.Empty;
if (adProperties != null)
{
this.adProperties = adProperties;
this.imageUrl = (String) adProperties["ImageUrl"];
this.navigateUrl = (String) adProperties["NavigateUrl"];
this.alternateText = (String) adProperties["AlternateText"];
return;
}
adProperties = new HybridDictionary();
}
public IDictionary AdProperties
{
get
{
return this.adProperties;
}
}
public string AlternateText
{
get
{
return this.alternateText;
}
set
{
this.alternateText = value;
}
}
public string ImageUrl
{
get
{
return this.imageUrl;
}
set
{
this.imageUrl = value;
}
}
public string NavigateUrl
{
get
{
return this.navigateUrl;
}
set
{
this.navigateUrl = value;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -