0
当我想要使用类中的方法CheckAccess
时,我发现它被标记为EditorBrowsable(EditorBrowsableState.Never)
,为什么? WindowsPhone7.1的 不适合使用?为什么在WindowsPhone71 SDK的编辑器中从来不能浏览某些方法?
当我想要使用类中的方法CheckAccess
时,我发现它被标记为EditorBrowsable(EditorBrowsableState.Never)
,为什么? WindowsPhone7.1的 不适合使用?为什么在WindowsPhone71 SDK的编辑器中从来不能浏览某些方法?
也许是错误的?或者,也许有人试图隐藏它出于某种原因 - 也许它最初不是因为某种原因而被暴露?看起来像WPF版本没有这个属性,至少根据文档。
我会说 - 不用担心。
有人在文档中也发表了评论:
http://msdn.microsoft.com/en-us/library/system.windows.threading.dispatcher.checkaccess(v=VS.95).aspx