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

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

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

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

G. andrew Duthie; matthew Macdonald

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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









StateItem

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

This class represents an item in the StateBag
collection and is used to track changes to that item. The actual
stored object is contained in the Value property.
An additional piece of information is provided in the
IsDirty property, which is True
if the item has been changed since being saved into the
StateBag collection. Changes to an item in the
StateBag are saved when the ASP.NET framework
calls the Control.SaveViewState( ) method.

When you retrieve an option from the StateBag
collection using the default indexer
StateBag.Item, you will receive the actual object.
If, however, you want to enumerate through the
StateBag collection using for
each
syntax, you should create a
StateItem enumerator. You can also retrieve a
StateItem object from the StateBag.Add(
)
method.

public sealed class 

StateItem {
// Public Instance Properties
public bool

IsDirty {set; get; }
public object

Value {set; get; }
}



Returned By


StateBag.Add( )


/ 873