Skip to main content

CreateNull

Creates a null value. This method returns the current context and calls its CreateNull method.

note

This method is not available in COM.

Please note, that for the .docbuilder file the CDocBuilderValue.CreateNull method is not used.

Syntax

def CreateNull() -> CDocBuilderValue

Example

builder = docbuilder.CDocBuilder()
context = builder.GetContext()
globalObj = context.GetGlobal()
api = globalObj["Api"]
null = api.CreateNull()