ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] - نسخه متنی

G. andrew Duthie; matthew Macdonald

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید









AdCreatedEventArgs

System.Web.UI.WebControls (system.web.dll)sealed class

This class supplies additional information to the
AdRotator.AdCreated event. This information is
drawn from the corresponding entry in the XML file defining the
advertisements for the AdRotator control. In
addition, the AdProperties property provides a
read-only collection that provides all properties of the current
advertisement.

One use of the AdCreatedEventArgs class and
AdRotator.AdCreated event is to update a Web Forms
page to correspond with the current advertisement. For example, you
could use code like this: Sponsor.Text = "Visit our sponsor
at" & e.NavigateURL;
.

public sealed class 

AdCreatedEventArgs : EventArgs {
// Public Constructors
public

AdCreatedEventArgs (System.Collections.IDictionary

adProperties );
// Public Instance Properties
public IDictionary

AdProperties {get; }
public string

AlternateText {set; get; }
public string

ImageUrl {set; get; }
public string

NavigateUrl {set; get; }
}



Hierarchy


System.Object
System.EventArgs
AdCreatedEventArgs

Passed To


System.Web.UI.MobileControls.AdRotator.OnAdCreated(
)
, AdCreatedEventHandler.{BeginInvoke(
)
, Invoke( )},
AdRotator.OnAdCreated( )


/ 873