简体   繁体   English

Windows Phone 7是否支持动态关键字?

[英]Does Windows Phone 7 support the dynamic keyword?

Silverlight 4 added support for the dynamic keyword. Silverlight 4增加了对dynamic关键字的支持。 Does Windows Phone 7 support also support it? Windows Phone 7支持是否也支持它?

I am getting compile errors and have been unable to find any source on the web which says whether it is supported one way or the other. 我收到编译错误,无法在网上找到任何来源,说明是否支持这种方式。

The compile error: 编译错误:

The type or namespace name 'Dynamic' does not exist in the namespace 'System' (are you missing an assembly reference?) 命名空间“System”中不存在类型或命名空间名称“Dynamic”(您是否缺少程序集引用?)

I believe WP7 targets .NET Framework 3.5, which means no dynamic keyword. 我相信WP7的目标是.NET Framework 3.5,这意味着没有动态关键字。 If there is an eventual firmware update they might support .NET Framework 4.0 Client Profile, but don't quote me on that! 如果有最终的固件更新,他们可能会支持.NET Framework 4.0 Client Profile,但请不要引用我的内容!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM