TextRangeManager 类

更新:2007 年 11 月

此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。

生成和管理 TextRange 实例,这些实例将在通过 ISourceReaderISourceChanger 修改源文档之后保持准确。

命名空间:  Microsoft.Windows.Design.SourceUpdate
程序集:  Microsoft.Windows.Design.Markup(在 Microsoft.Windows.Design.Markup.dll 中)

语法

声明
Public Class TextRangeManager
用法
Dim instance As TextRangeManager
public class TextRangeManager
public ref class TextRangeManager
public class TextRangeManager

继承层次结构

System.Object
  Microsoft.Windows.Design.SourceUpdate.TextRangeManager

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

另请参见

参考

TextRangeManager 成员

Microsoft.Windows.Design.SourceUpdate 命名空间

其他资源

WPF 设计器扩展性