为什么你要把数据放在Tag里面呢? 这个Tag不是设计用来存放数据的,只是便于设置一些值来标记此对象的。 我们总不能怪因为乌龟离开水而他爬得慢吧,适合的环境做适合的事,Tag真不适合像你一样放这么复杂和一些非托管资源。所以你还是考虑另外设计一个类来管理这些大对象吧。
Bob Bao [MSFT]
MSDN Community Support |
Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
