跳到主要内容

CreateUndefined

创建 undefined 值,相当于 JS 中的 undefined

备注

对于 .docbuilder 文件,不使用 CDocBuilderContext.CreateUndefined 方法。

语法

def CreateUndefined(self) -> CDocBuilderValue

参数

仅限 COM

名称类型描述
resultI_DOCBUILDER_VALUE**返回的 undefined 值。

示例

builder = docbuilder.CDocBuilder()
context = builder.GetContext()
content = context.CreateUndefined()