开发者

why UnaryExpression not have body

I was seeking some information about how to use Expression.Quote. And I've found an answer for it, What is the purpose of LINQ's Expression.Quote method?

After reading the post, I know how to use Expression.Quote 开发者_如何学编程and its effects. But in this post, you can see that the UnaryExpression class has a Body property. But now, I can't find it in VS2010 and in MSDN too. Why?


The UnaryExpression class does not have a Body property. If you look closely in the screenshot you are referring to, you'll see that the Body property is actually seen under the UnaryExpression.Operand property, and is therefore actually on the LambdaExpression class.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜