创建一类像ASP.NET MVC 3 ViewBag?NET、ASP、ViewBag、MVC

由网友(执着的、也许只是念旧)分享简介:我有一个情况下,我想做点什么simular什么是有可能与在运行时创建的属性的ASP.NET MVC 3 ViewBag对象做了什么?或者是在编译时?I have a situation where I would like to do something simular to what was done with t...

我有一个情况下,我想做点什么simular什么是有可能与在运行时创建的属性的ASP.NET MVC 3 ViewBag对象做了什么?或者是在编译时?

I have a situation where I would like to do something simular to what was done with the ASP.NET MVC 3 ViewBag object where properties are created at runtime? Or is it at compile time?

无论如何,我不知道如何去使用此行为创建一个对象?

Anyway I was wondering how to go about creating an object with this behaviour?

推荐答案

使用类型的对象动态。 有关详细信息,请参阅本文。

阅读全文

相关推荐

最新文章