找不到方法:system.windows.controls.flowdocumentreader.get_sel ection() [英] Method not found: system.windows.controls.flowdocumentreader.get_sel ection()

查看:89
本文介绍了找不到方法:system.windows.controls.flowdocumentreader.get_sel ection()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写了这个鳕鱼:


docView1.Selection.Select(textRange.Start,textRange.End);


和这项工作正确地在我的机器上

但是在其他机器中这会抛出异常:

找不到方法:system.windows.controls.flowdocumentreader.get_sel ection()

我该怎么办?

是.netframework的版本吗?

i wrote this cod:

docView1.Selection.Select(textRange.Start, textRange.End);

and this work correctly on my machine
but in other machines this will throw exception:
Method not found: system.windows.controls.flowdocumentreader.get_sel ection()
what can i do?
is this for version of .netframework?

推荐答案


i写了这个鳕鱼:
i wrote this cod:



你写了一条鱼?

You wrote a fish?


是这个对于.netframework的版本?
is this for version of .netframework?



好​​吧,无论如何要求别人为您阅读MSDN 。做自己的研究只会很愚蠢。

Well, by all means ask someone else to read theMSDN for you. Doing your own research would just be silly.


.NET Framework类库

FlowDocumentReader类

提供用于查看流内容的控件,内置支持多种查看模式。


命名空间:System.Windows.Controls

汇编:PresentationFramework (在PresentationFramework.dll中)

XMLNS for XAML: http://schemas.microsoft.com/winfx/2...l/presentation http://schemas.microsoft.com/netfx/2...l/presentation

此页面特定于

Microsoft Visual Studio 2008 / .NET Framework 3.5

其他版本也可用于以下内容:

.NET Framework 3.0

Microsoft Visual Studio 2010 / .NET Framework 4


我在该系统上安装了.netframework 3但是FLOW DOCUMENT READER的属性SELECTION引发异常
i have installed .netframework 3 on that system but the property SELECTION of FLOW DOCUMENT READER throws an exception


什么是异常消息?

也许你想要做的事情在3.0中不存在。


你看过3.0的MSDN, 3.5和4.0以查看您使用的功能是否存在于3.0中,或者它们的实现是否与3.0不同?
What is the exception message?
Maybe what you are trying to do doesn''t exist in 3.0.

Have you looked at the MSDN for 3.0, 3.5 and 4.0 to see if the features you are using exist in 3.0, or if their implementation is different in 3.0 than 3.5?


这篇关于找不到方法:system.windows.controls.flowdocumentreader.get_sel ection()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆