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

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

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

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

G. andrew Duthie; matthew Macdonald

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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









IAttributeAccessor

System.Web.UI (system.web.dll)interface

This interface is implemented by the
System.Web.UI.WebControls.WebControl and
System.Web.UI.HtmlControls.HtmlControl base
control classes. It allows you to programmatically access and modify
any of the attributes that are defined in the opening tag of a server
control. For example, you can use GetAttribute( )
to access an attribute by name and retrieve its string vlaue, and you
can use SetAttribute( ) to access an attribute by
name and supply a new string value that should be applied. This
interface is primarily of interest if you want to provide this
functionality in a custom control that does not derive from
System.Web.UI.WebControls.WebControl or
System.Web.UI.HtmlControls.HtmlControl.

public interface 

IAttributeAccessor {
// Public Instance Methods
public string

GetAttribute (string

key );
public void

SetAttribute (string

key , string

value );
}



Implemented By


UserControl,
System.Web.UI.HtmlControls.HtmlControl,
System.Web.UI.MobileControls.{DeviceSpecificChoice,
MobileControl},
System.Web.UI.WebControls.{ListItem,
WebControl}


/ 873