语言

CompiledTextRunInstance 类

定义

表示通过解析HTML生成的编译文本运行实例。

public ref class CompiledTextRunInstance sealed : Microsoft::ReportingServices::OnDemandReportRendering::TextRunInstance
public sealed class CompiledTextRunInstance : Microsoft.ReportingServices.OnDemandReportRendering.TextRunInstance
type CompiledTextRunInstance = class
    inherit TextRunInstance
Public NotInheritable Class CompiledTextRunInstance
Inherits TextRunInstance
继承

注解

一个或多个编译版本 CompiledParagraphInstance 由解析后的 HTML 生成,而解析 HTML 又包含一个或多个编 CompiledTextRunInstance译 的 。 这些编译后的实例对象实际上并不与定义对象一一对应。

字段

名称 说明
m_reportElementDef

指定定义该实例的报告元素定义。

(继承自 ReportElementInstance)
m_style

指定该报告元素对象的样式属性。

(继承自 ReportElementInstance)
m_uniqueName

指定该实例对象的唯一标识符。

(继承自 TextRunInstance)

属性

名称 说明
ActionInstance

它得到 ActionInstance 一个由HTML标签编译出来的对象。

Definition

得到该定义 TextRunInstance类。

(继承自 TextRunInstance)
IsCompiled

表示该文本运行实例是否由HTML标签编译而成。

MarkupType

获取包含HTML的原始TextRun定义对象中该属性的计算值MarkupType。

OriginalValue

获取解析文本运行的字符串值。

ProcessedWithError

获得 Boolean 一个值,表示解析HTML时是否发生错误。

Style

获取定义对象的计算样式 TextRun ,或从HTML中解析后的样式值(如果存在的话)。

ToolTip

获取包含HTML的原始TextRun定义对象中该属性的计算值ToolTip。

TypeCode

获取文本运行实例中所包含值的类型。 对于已编译的文本运行,这总是 String。

UniqueName

获取该实例对象的唯一标识符。

Value

获取解析文本运行的字符串值。

方法

名称 说明
ResetInstanceCache()

重置 的缓存 TextRunInstance。

(继承自 TextRunInstance)

适用于