AdCreatedEventArgs(IDictionary) Construtor

Definição

Inicializa uma nova instância da AdCreatedEventArgs classe.

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)

Parâmetros

adProperties
IDictionary

A contendo IDictionary as propriedades de anúncio do ficheiro XML.

Observações

Use este construtor para criar e inicializar uma nova instância da AdCreatedEventArgs classe.

A tabela seguinte mostra os valores iniciais das propriedades para uma instância de AdCreatedEventArgs.

Property Valor inicial
AdProperties O valor do adProperties parâmetro se o adProperties parâmetro não nullfor ; caso contrário, um vazio System.Collections.IDictionary.
AlternateText Se o adProperties parâmetro não nullfor , o valor no adProperties parâmetro que representa o texto alternativo; caso contrário, String.Empty.
ImageUrl Se o adProperties parâmetro não nullfor , o valor no adProperties parâmetro que representa a URL da imagem a mostrar; caso contrário, String.Empty.
NavigateUrl Se o adProperties parâmetro não nullfor , o valor no adProperties parâmetro que representa a URL a navegar; caso contrário, String.Empty.

Aplica-se a

Ver também