Skip to content

API Host TypedDocumentInput

Liu.Yandong.Hanks edited this page Sep 2, 2026 · 3 revisions

TypedDocumentInput

INativeTypedDocument.ReadTypedDocument 使用的 TDoc 读入项。

命名空间:AuroraScript.Runtime.Serialization。种类:readonly ref struct。适用于 4.0.0。

返回 .NET Host API 参考 · INativeTypedDocument

概述

表示当前正在读入的一个对象成员或数组元素。不要保存本结构。

属性

成员 说明
bool IsMember 是否为命名对象成员
bool IsElement 是否为位置数组元素
string MemberName 成员名;数组元素为 null
int ElementIndex 数组下标;对象成员为 -1
bool IsReadOnly 对象成员是否声明为 readonly;数组元素始终为 false
ScriptDatum Value 已解析的脚本值,不装箱

方法

TypedDocumentException Error(string message)

创建带当前数据路径的 TDoc 错误。

相关 API

AuroraScript.JIT 4.0.0

入门

语言

脚本 API

宿主集成

工具

项目

Clone this wiki locally