通过


TextRunCache 类

定义

为对象提供缓存服务 TextFormatter 以提高性能。

public ref class TextRunCache sealed
public sealed class TextRunCache
type TextRunCache = class
Public NotInheritable Class TextRunCache
继承
TextRunCache

注解

使用此缓存机制的应用程序负责在缓存中更改内容时使内容失效。

构造函数

名称 说明
TextRunCache()

初始化 TextRunCache 类的新实例。

方法

名称 说明
Change(Int32, Int32, Int32)

在添加、删除或替换文本内容或文本运行属性 TextRun 时,通知文本引擎客户端对缓存的更改。

Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
Invalidate()

向文本引擎客户端发出信号,使缓存的全部 TextFormatter 内容失效。

MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于

另请参阅