[Serializable] 类定义前加这个什么含义?
[Serializable]
类定义前加这个什么含义?
如:
[Serializable]
public class AreaLists : List<Area>
{
//Extend your properties and methods by Tony . for more Help to
//http://msdn.microsoft.com/zh-cn/library/s6hkc2c4.aspx
private int _maxItems = 0;
public int MaxItems { get { return this._maxItems; } set { this._maxItems = value; } }
}